diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/exports/New-AzStackHCIVMImage.ps1 b/generated/StackHCIVM/StackHCIVM.Autorest/exports/New-AzStackHCIVMImage.ps1 index 682eb7adfb24..32fe55e7c332 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/exports/New-AzStackHCIVMImage.ps1 +++ b/generated/StackHCIVM/StackHCIVM.Autorest/exports/New-AzStackHCIVMImage.ps1 @@ -124,7 +124,7 @@ param( [Parameter(ParameterSetName='GalleryImage', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Body')] - [System.String] + [System.Security.SecureString] # Local path of image that the image should be created from. # # This parameter is required for non marketplace images. diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/StackHCIVM/StackHCIVM.Autorest/exports/ProxyCmdletDefinitions.ps1 index f6163a1ff03f..1c04bf5888d0 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/exports/ProxyCmdletDefinitions.ps1 +++ b/generated/StackHCIVM/StackHCIVM.Autorest/exports/ProxyCmdletDefinitions.ps1 @@ -2731,7 +2731,7 @@ param( [Parameter(ParameterSetName='GalleryImage', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Body')] - [System.String] + [System.Security.SecureString] # Local path of image that the image should be created from. # # This parameter is required for non marketplace images. diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/ErrorResponse.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/ErrorResponse.cs index 1e500856d316..0ff57c009b24 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/ErrorResponse.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/ErrorResponse.cs @@ -40,22 +40,22 @@ public partial class ErrorResponse : public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailInternal)Error).Message; } /// Internal Acessors for AdditionalInfo - System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailInternal)Error).AdditionalInfo = value; } + System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; } /// Internal Acessors for Code - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailInternal)Error).Code = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailInternal)Error).Code = value ?? null; } /// Internal Acessors for Detail - System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailInternal)Error).Detail = value; } + System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailInternal)Error).Detail = value ?? null /* arrayOf */; } /// Internal Acessors for Error Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorResponseInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ErrorDetail()); set { {_error = value;} } } /// Internal Acessors for Message - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailInternal)Error).Message = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailInternal)Error).Message = value ?? null; } /// Internal Acessors for Target - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailInternal)Error).Target = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailInternal)Error).Target = value ?? null; } /// The error target. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/ErrorResponseAutoGenerated.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/ErrorResponseAutoGenerated.cs index 5ccfad543664..bab61e09fd1d 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/ErrorResponseAutoGenerated.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/ErrorResponseAutoGenerated.cs @@ -40,22 +40,22 @@ public partial class ErrorResponseAutoGenerated : public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailAutoGeneratedInternal)Error).Message; } /// Internal Acessors for AdditionalInfo - System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorResponseAutoGeneratedInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailAutoGeneratedInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailAutoGeneratedInternal)Error).AdditionalInfo = value; } + System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorResponseAutoGeneratedInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailAutoGeneratedInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailAutoGeneratedInternal)Error).AdditionalInfo = value ?? null /* arrayOf */; } /// Internal Acessors for Code - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorResponseAutoGeneratedInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailAutoGeneratedInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailAutoGeneratedInternal)Error).Code = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorResponseAutoGeneratedInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailAutoGeneratedInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailAutoGeneratedInternal)Error).Code = value ?? null; } /// Internal Acessors for Detail - System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorResponseAutoGeneratedInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailAutoGeneratedInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailAutoGeneratedInternal)Error).Detail = value; } + System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorResponseAutoGeneratedInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailAutoGeneratedInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailAutoGeneratedInternal)Error).Detail = value ?? null /* arrayOf */; } /// Internal Acessors for Error Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailAutoGenerated Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorResponseAutoGeneratedInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ErrorDetailAutoGenerated()); set { {_error = value;} } } /// Internal Acessors for Message - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorResponseAutoGeneratedInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailAutoGeneratedInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailAutoGeneratedInternal)Error).Message = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorResponseAutoGeneratedInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailAutoGeneratedInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailAutoGeneratedInternal)Error).Message = value ?? null; } /// Internal Acessors for Target - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorResponseAutoGeneratedInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailAutoGeneratedInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailAutoGeneratedInternal)Error).Target = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorResponseAutoGeneratedInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailAutoGeneratedInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IErrorDetailAutoGeneratedInternal)Error).Target = value ?? null; } /// The error target. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/ExtensionValue.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/ExtensionValue.cs index 767b7cf3160b..bd2233afa306 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/ExtensionValue.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/ExtensionValue.cs @@ -29,28 +29,46 @@ public partial class ExtensionValue : public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Id; } /// Internal Acessors for ExtensionType - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IExtensionValueInternal.ExtensionType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IExtensionValuePropertiesInternal)Property).ExtensionType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IExtensionValuePropertiesInternal)Property).ExtensionType = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IExtensionValueInternal.ExtensionType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IExtensionValuePropertiesInternal)Property).ExtensionType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IExtensionValuePropertiesInternal)Property).ExtensionType = value ?? null; } /// Internal Acessors for Property Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IExtensionValueProperties Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IExtensionValueInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ExtensionValueProperties()); set { {_property = value;} } } /// Internal Acessors for Publisher - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IExtensionValueInternal.Publisher { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IExtensionValuePropertiesInternal)Property).Publisher; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IExtensionValuePropertiesInternal)Property).Publisher = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IExtensionValueInternal.Publisher { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IExtensionValuePropertiesInternal)Property).Publisher; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IExtensionValuePropertiesInternal)Property).Publisher = value ?? null; } /// Internal Acessors for Version - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IExtensionValueInternal.Version { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IExtensionValuePropertiesInternal)Property).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IExtensionValuePropertiesInternal)Property).Version = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IExtensionValueInternal.Version { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IExtensionValuePropertiesInternal)Property).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IExtensionValuePropertiesInternal)Property).Version = value ?? null; } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Id = value ?? null; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Name = value ?? null; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemData = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; } + + /// Internal Acessors for SystemDataCreatedAt + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); } + + /// Internal Acessors for SystemDataCreatedBy + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; } + + /// Internal Acessors for SystemDataCreatedByType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; } + + /// Internal Acessors for SystemDataLastModifiedAt + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } + + /// Internal Acessors for SystemDataLastModifiedBy + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; } + + /// Internal Acessors for SystemDataLastModifiedByType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Type = value ?? null; } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] @@ -75,31 +93,31 @@ public partial class ExtensionValue : /// Azure Resource Manager metadata containing createdBy and modifiedBy information. /// [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - internal Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemData; } + internal Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; } /// The timestamp of resource creation (UTC). [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); } + public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; } /// The identity that created the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; } + public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; } /// The type of identity that created the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; } + public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; } /// The timestamp of resource last modification (UTC) [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } + public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; } /// The identity that last modified the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; } + public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; } /// The type of identity that last modified the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; } + public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; } /// /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryImageProperties.PowerShell.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryImageProperties.PowerShell.cs index 203d50e7c105..ba1f54bf555c 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryImageProperties.PowerShell.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryImageProperties.PowerShell.cs @@ -127,7 +127,7 @@ internal GalleryImageProperties(global::System.Collections.IDictionary content) } if (content.Contains("ImagePath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)this).ImagePath = (string) content.GetValueForProperty("ImagePath",((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)this).ImagePath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)this).ImagePath = (System.Security.SecureString) content.GetValueForProperty("ImagePath",((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)this).ImagePath, (object ss) => (System.Security.SecureString)ss); } if (content.Contains("OSType")) { @@ -244,7 +244,7 @@ internal GalleryImageProperties(global::System.Management.Automation.PSObject co } if (content.Contains("ImagePath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)this).ImagePath = (string) content.GetValueForProperty("ImagePath",((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)this).ImagePath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)this).ImagePath = (System.Security.SecureString) content.GetValueForProperty("ImagePath",((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)this).ImagePath, (object ss) => (System.Security.SecureString)ss); } if (content.Contains("OSType")) { diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryImageProperties.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryImageProperties.cs index 992de02c7486..de93d263ad40 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryImageProperties.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryImageProperties.cs @@ -31,7 +31,7 @@ public partial class GalleryImageProperties : /// The downloaded sized of the image in MB [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public long? DownloadStatusDownloadSizeInMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).DownloadStatusDownloadSizeInMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).DownloadStatusDownloadSizeInMb = value ?? default(long); } + public long? DownloadStatusDownloadSizeInMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).DownloadStatusDownloadSizeInMb; } /// Backing field for property. private string _hyperVGeneration; @@ -60,41 +60,59 @@ public partial class GalleryImageProperties : public string IdentifierSku { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageIdentifierInternal)Identifier).Sku; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageIdentifierInternal)Identifier).Sku = value ?? null; } /// Backing field for property. - private string _imagePath; + private System.Security.SecureString _imagePath; /// location of the image the gallery image should be created from [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Owned)] - public string ImagePath { get => this._imagePath; set => this._imagePath = value; } + public System.Security.SecureString ImagePath { get => this._imagePath; set => this._imagePath = value; } + + /// Internal Acessors for DownloadStatusDownloadSizeInMb + long? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal.DownloadStatusDownloadSizeInMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).DownloadStatusDownloadSizeInMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).DownloadStatusDownloadSizeInMb = value ?? default(long); } /// Internal Acessors for Identifier Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageIdentifier Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal.Identifier { get => (this._identifier = this._identifier ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.GalleryImageIdentifier()); set { {_identifier = value;} } } /// Internal Acessors for OSDiskImageSizeInMb - long? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal.OSDiskImageSizeInMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal)Version).OSDiskImageSizeInMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal)Version).OSDiskImageSizeInMb = value; } + long? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal.OSDiskImageSizeInMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal)Version).OSDiskImageSizeInMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal)Version).OSDiskImageSizeInMb = value ?? default(long); } /// Internal Acessors for ProvisioningState string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } + /// Internal Acessors for ProvisioningStatus + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal.ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).ProvisioningStatusStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).ProvisioningStatusStatus = value ?? null; } + + /// Internal Acessors for ProvisioningStatusOperationId + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal.ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).ProvisioningStatusOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).ProvisioningStatusOperationId = value ?? null; } + /// Internal Acessors for Status Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal.Status { get => (this._status = this._status ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.GalleryImageStatus()); set { {_status = value;} } } /// Internal Acessors for StatusDownloadStatus - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusDownloadStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal.StatusDownloadStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).DownloadStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).DownloadStatus = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusDownloadStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal.StatusDownloadStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).DownloadStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).DownloadStatus = value ?? null /* model class */; } + + /// Internal Acessors for StatusErrorCode + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal.StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).ErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).ErrorCode = value ?? null; } + + /// Internal Acessors for StatusErrorMessage + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal.StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).ErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).ErrorMessage = value ?? null; } + + /// Internal Acessors for StatusProgressPercentage + long? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal.StatusProgressPercentage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).ProgressPercentage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).ProgressPercentage = value ?? default(long); } /// Internal Acessors for StatusProvisioningStatus - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusProvisioningStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal.StatusProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).ProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).ProvisioningStatus = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusProvisioningStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal.StatusProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).ProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).ProvisioningStatus = value ?? null /* model class */; } /// Internal Acessors for StorageProfile - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionStorageProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal.StorageProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal)Version).StorageProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal)Version).StorageProfile = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionStorageProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal.StorageProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal)Version).StorageProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal)Version).StorageProfile = value ?? null /* model class */; } /// Internal Acessors for StorageProfileOSDiskImage - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryOSDiskImage Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal.StorageProfileOSDiskImage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal)Version).StorageProfileOSDiskImage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal)Version).StorageProfileOSDiskImage = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryOSDiskImage Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal.StorageProfileOSDiskImage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal)Version).StorageProfileOSDiskImage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal)Version).StorageProfileOSDiskImage = value ?? null /* model class */; } /// Internal Acessors for Version Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersion Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal.Version { get => (this._version = this._version ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.GalleryImageVersion()); set { {_version = value;} } } /// Internal Acessors for VersionProperty - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionProperties Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal.VersionProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal)Version).Property; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal)Version).Property = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionProperties Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal.VersionProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal)Version).Property; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal)Version).Property = value ?? null /* model class */; } /// This property indicates the size of the VHD to be created. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] @@ -118,11 +136,11 @@ public partial class GalleryImageProperties : /// The status of the operation performed on the gallery image [Succeeded, Failed, InProgress] /// [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).ProvisioningStatusStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).ProvisioningStatusStatus = value ?? null; } + public string ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).ProvisioningStatusStatus; } /// The ID of the operation performed on the gallery image [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).ProvisioningStatusOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).ProvisioningStatusOperationId = value ?? null; } + public string ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).ProvisioningStatusOperationId; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatus _status; @@ -133,15 +151,15 @@ public partial class GalleryImageProperties : /// GalleryImage provisioning error code [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).ErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).ErrorCode = value ?? null; } + public string StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).ErrorCode; } /// Descriptive error message [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).ErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).ErrorMessage = value ?? null; } + public string StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).ErrorMessage; } /// The progress of the operation in percentage [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public long? StatusProgressPercentage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).ProgressPercentage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).ProgressPercentage = value ?? default(long); } + public long? StatusProgressPercentage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusInternal)Status).ProgressPercentage; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersion _version; @@ -256,8 +274,8 @@ public partial interface IGalleryImageProperties : Update = true, Description = @"location of the image the gallery image should be created from", SerializedName = @"imagePath", - PossibleTypes = new [] { typeof(string) })] - string ImagePath { get; set; } + PossibleTypes = new [] { typeof(System.Security.SecureString) })] + System.Security.SecureString ImagePath { get; set; } /// This property indicates the size of the VHD to be created. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Info( Required = false, @@ -389,7 +407,7 @@ internal partial interface IGalleryImagePropertiesInternal /// The name of the gallery image definition SKU. string IdentifierSku { get; set; } /// location of the image the gallery image should be created from - string ImagePath { get; set; } + System.Security.SecureString ImagePath { get; set; } /// This property indicates the size of the VHD to be created. long? OSDiskImageSizeInMb { get; set; } /// Operating system type that the gallery image uses [Windows, Linux] diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryImageProperties.json.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryImageProperties.json.cs index 054df8b2e67e..b8e64b1d2dd5 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryImageProperties.json.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryImageProperties.json.cs @@ -81,7 +81,7 @@ internal GalleryImageProperties(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Ru {_version = If( json?.PropertyT("version"), out var __jsonVersion) ? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.GalleryImageVersion.FromJson(__jsonVersion) : _version;} {_status = If( json?.PropertyT("status"), out var __jsonStatus) ? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.GalleryImageStatus.FromJson(__jsonStatus) : _status;} {_containerId = If( json?.PropertyT("containerId"), out var __jsonContainerId) ? (string)__jsonContainerId : (string)_containerId;} - {_imagePath = If( json?.PropertyT("imagePath"), out var __jsonImagePath) ? (string)__jsonImagePath : (string)_imagePath;} + {_imagePath = If( json?.PropertyT("imagePath"), out var __jsonImagePath) ? new System.Net.NetworkCredential("",(string)__jsonImagePath).SecurePassword : _imagePath;} {_oSType = If( json?.PropertyT("osType"), out var __jsonOSType) ? (string)__jsonOSType : (string)_oSType;} {_cloudInitDataSource = If( json?.PropertyT("cloudInitDataSource"), out var __jsonCloudInitDataSource) ? (string)__jsonCloudInitDataSource : (string)_cloudInitDataSource;} {_hyperVGeneration = If( json?.PropertyT("hyperVGeneration"), out var __jsonHyperVGeneration) ? (string)__jsonHyperVGeneration : (string)_hyperVGeneration;} @@ -115,7 +115,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Json.JsonNode ToJso AddIf( null != this._status ? (Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Json.JsonNode) this._status.ToJson(null,serializationMode) : null, "status" ,container.Add ); } AddIf( null != (((object)this._containerId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Json.JsonString(this._containerId.ToString()) : null, "containerId" ,container.Add ); - AddIf( null != (((object)this._imagePath)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Json.JsonString(this._imagePath.ToString()) : null, "imagePath" ,container.Add ); + AddIf( null != (((object)this._imagePath)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Json.JsonString(System.Runtime.InteropServices.Marshal.PtrToStringBSTR(System.Runtime.InteropServices.Marshal.SecureStringToBSTR(this._imagePath))) : null, "imagePath" ,container.Add ); AddIf( null != (((object)this._oSType)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Json.JsonString(this._oSType.ToString()) : null, "osType" ,container.Add ); AddIf( null != (((object)this._cloudInitDataSource)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Json.JsonString(this._cloudInitDataSource.ToString()) : null, "cloudInitDataSource" ,container.Add ); AddIf( null != (((object)this._hyperVGeneration)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Json.JsonString(this._hyperVGeneration.ToString()) : null, "hyperVGeneration" ,container.Add ); diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryImageVersion.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryImageVersion.cs index 324c315e9ab7..0277c2c2513c 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryImageVersion.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryImageVersion.cs @@ -16,16 +16,16 @@ public partial class GalleryImageVersion : { /// Internal Acessors for OSDiskImageSizeInMb - long? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal.OSDiskImageSizeInMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionPropertiesInternal)Property).OSDiskImageSizeInMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionPropertiesInternal)Property).OSDiskImageSizeInMb = value; } + long? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal.OSDiskImageSizeInMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionPropertiesInternal)Property).OSDiskImageSizeInMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionPropertiesInternal)Property).OSDiskImageSizeInMb = value ?? default(long); } /// Internal Acessors for Property Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionProperties Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.GalleryImageVersionProperties()); set { {_property = value;} } } /// Internal Acessors for StorageProfile - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionStorageProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal.StorageProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionPropertiesInternal)Property).StorageProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionPropertiesInternal)Property).StorageProfile = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionStorageProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal.StorageProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionPropertiesInternal)Property).StorageProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionPropertiesInternal)Property).StorageProfile = value ?? null /* model class */; } /// Internal Acessors for StorageProfileOSDiskImage - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryOSDiskImage Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal.StorageProfileOSDiskImage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionPropertiesInternal)Property).StorageProfileOSDiskImage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionPropertiesInternal)Property).StorageProfileOSDiskImage = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryOSDiskImage Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal.StorageProfileOSDiskImage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionPropertiesInternal)Property).StorageProfileOSDiskImage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionPropertiesInternal)Property).StorageProfileOSDiskImage = value ?? null /* model class */; } /// Backing field for property. private string _name; diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryImageVersionProperties.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryImageVersionProperties.cs index 9ac973e4a2d0..66af8df64710 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryImageVersionProperties.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryImageVersionProperties.cs @@ -14,13 +14,13 @@ public partial class GalleryImageVersionProperties : { /// Internal Acessors for OSDiskImageSizeInMb - long? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionPropertiesInternal.OSDiskImageSizeInMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionStorageProfileInternal)StorageProfile).OSDiskImageSizeInMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionStorageProfileInternal)StorageProfile).OSDiskImageSizeInMb = value; } + long? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionPropertiesInternal.OSDiskImageSizeInMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionStorageProfileInternal)StorageProfile).OSDiskImageSizeInMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionStorageProfileInternal)StorageProfile).OSDiskImageSizeInMb = value ?? default(long); } /// Internal Acessors for StorageProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionStorageProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionPropertiesInternal.StorageProfile { get => (this._storageProfile = this._storageProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.GalleryImageVersionStorageProfile()); set { {_storageProfile = value;} } } /// Internal Acessors for StorageProfileOSDiskImage - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryOSDiskImage Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionPropertiesInternal.StorageProfileOSDiskImage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionStorageProfileInternal)StorageProfile).OSDiskImage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionStorageProfileInternal)StorageProfile).OSDiskImage = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryOSDiskImage Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionPropertiesInternal.StorageProfileOSDiskImage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionStorageProfileInternal)StorageProfile).OSDiskImage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionStorageProfileInternal)StorageProfile).OSDiskImage = value ?? null /* model class */; } /// This property indicates the size of the VHD to be created. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryImageVersionStorageProfile.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryImageVersionStorageProfile.cs index 505fa84af712..49fd2853b38a 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryImageVersionStorageProfile.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryImageVersionStorageProfile.cs @@ -17,7 +17,7 @@ public partial class GalleryImageVersionStorageProfile : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryOSDiskImage Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionStorageProfileInternal.OSDiskImage { get => (this._oSDiskImage = this._oSDiskImage ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.GalleryOSDiskImage()); set { {_oSDiskImage = value;} } } /// Internal Acessors for OSDiskImageSizeInMb - long? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionStorageProfileInternal.OSDiskImageSizeInMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryDiskImageInternal)OSDiskImage).SizeInMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryDiskImageInternal)OSDiskImage).SizeInMb = value; } + long? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionStorageProfileInternal.OSDiskImageSizeInMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryDiskImageInternal)OSDiskImage).SizeInMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryDiskImageInternal)OSDiskImage).SizeInMb = value ?? default(long); } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryOSDiskImage _oSDiskImage; diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryImages.PowerShell.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryImages.PowerShell.cs index 00a46eb61f57..dc93f6725887 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryImages.PowerShell.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryImages.PowerShell.cs @@ -187,7 +187,7 @@ internal GalleryImages(global::System.Collections.IDictionary content) } if (content.Contains("ImagePath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal)this).ImagePath = (string) content.GetValueForProperty("ImagePath",((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal)this).ImagePath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal)this).ImagePath = (System.Security.SecureString) content.GetValueForProperty("ImagePath",((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal)this).ImagePath, (object ss) => (System.Security.SecureString)ss); } if (content.Contains("OSType")) { @@ -368,7 +368,7 @@ internal GalleryImages(global::System.Management.Automation.PSObject content) } if (content.Contains("ImagePath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal)this).ImagePath = (string) content.GetValueForProperty("ImagePath",((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal)this).ImagePath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal)this).ImagePath = (System.Security.SecureString) content.GetValueForProperty("ImagePath",((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal)this).ImagePath, (object ss) => (System.Security.SecureString)ss); } if (content.Contains("OSType")) { diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryImages.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryImages.cs index 8f4acb5797c8..cffcdfded41d 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryImages.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryImages.cs @@ -30,7 +30,7 @@ public partial class GalleryImages : /// The downloaded sized of the image in MB [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public long? DownloadStatusDownloadSizeInMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).DownloadStatusDownloadSizeInMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).DownloadStatusDownloadSizeInMb = value ?? default(long); } + public long? DownloadStatusDownloadSizeInMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).DownloadStatusDownloadSizeInMb; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IExtendedLocation _extendedLocation; @@ -71,59 +71,95 @@ public partial class GalleryImages : /// location of the image the gallery image should be created from [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string ImagePath { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).ImagePath; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).ImagePath = value ?? null; } + public System.Security.SecureString ImagePath { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).ImagePath; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).ImagePath = value ?? null; } /// The geo-location where the resource lives [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ITrackedResourceInternal)__trackedResource).Location = value ; } + public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; } + + /// Internal Acessors for DownloadStatusDownloadSizeInMb + long? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal.DownloadStatusDownloadSizeInMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).DownloadStatusDownloadSizeInMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).DownloadStatusDownloadSizeInMb = value ?? default(long); } /// Internal Acessors for ExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal.ExtendedLocation { get => (this._extendedLocation = this._extendedLocation ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ExtendedLocation()); set { {_extendedLocation = value;} } } /// Internal Acessors for Identifier - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageIdentifier Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal.Identifier { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).Identifier; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).Identifier = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageIdentifier Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal.Identifier { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).Identifier; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).Identifier = value ?? null /* model class */; } /// Internal Acessors for OSDiskImageSizeInMb - long? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal.OSDiskImageSizeInMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).OSDiskImageSizeInMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).OSDiskImageSizeInMb = value; } + long? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal.OSDiskImageSizeInMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).OSDiskImageSizeInMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).OSDiskImageSizeInMb = value ?? default(long); } /// Internal Acessors for Property Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageProperties Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.GalleryImageProperties()); set { {_property = value;} } } /// Internal Acessors for ProvisioningState - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).ProvisioningState = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).ProvisioningState = value ?? null; } + + /// Internal Acessors for ProvisioningStatus + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal.ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).ProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).ProvisioningStatus = value ?? null; } + + /// Internal Acessors for ProvisioningStatusOperationId + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal.ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).ProvisioningStatusOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).ProvisioningStatusOperationId = value ?? null; } /// Internal Acessors for Status - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).Status = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).Status = value ?? null /* model class */; } /// Internal Acessors for StatusDownloadStatus - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusDownloadStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal.StatusDownloadStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).StatusDownloadStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).StatusDownloadStatus = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusDownloadStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal.StatusDownloadStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).StatusDownloadStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).StatusDownloadStatus = value ?? null /* model class */; } + + /// Internal Acessors for StatusErrorCode + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal.StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).StatusErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).StatusErrorCode = value ?? null; } + + /// Internal Acessors for StatusErrorMessage + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal.StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).StatusErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).StatusErrorMessage = value ?? null; } + + /// Internal Acessors for StatusProgressPercentage + long? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal.StatusProgressPercentage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).StatusProgressPercentage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).StatusProgressPercentage = value ?? default(long); } /// Internal Acessors for StatusProvisioningStatus - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusProvisioningStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal.StatusProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).StatusProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).StatusProvisioningStatus = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageStatusProvisioningStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal.StatusProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).StatusProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).StatusProvisioningStatus = value ?? null /* model class */; } /// Internal Acessors for StorageProfile - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionStorageProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal.StorageProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).StorageProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).StorageProfile = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionStorageProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal.StorageProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).StorageProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).StorageProfile = value ?? null /* model class */; } /// Internal Acessors for StorageProfileOSDiskImage - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryOSDiskImage Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal.StorageProfileOSDiskImage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).StorageProfileOSDiskImage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).StorageProfileOSDiskImage = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryOSDiskImage Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal.StorageProfileOSDiskImage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).StorageProfileOSDiskImage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).StorageProfileOSDiskImage = value ?? null /* model class */; } /// Internal Acessors for Version - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersion Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal.Version { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).Version = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersion Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal.Version { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).Version = value ?? null /* model class */; } /// Internal Acessors for VersionProperty - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionProperties Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal.VersionProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).VersionProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).VersionProperty = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionProperties Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesInternal.VersionProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).VersionProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).VersionProperty = value ?? null /* model class */; } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Id = value ?? null; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Name = value ?? null; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; } + + /// Internal Acessors for SystemDataCreatedAt + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); } + + /// Internal Acessors for SystemDataCreatedBy + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; } + + /// Internal Acessors for SystemDataCreatedByType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; } + + /// Internal Acessors for SystemDataLastModifiedAt + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } + + /// Internal Acessors for SystemDataLastModifiedBy + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; } + + /// Internal Acessors for SystemDataLastModifiedByType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Type = value ?? null; } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] @@ -152,11 +188,11 @@ public partial class GalleryImages : /// The status of the operation performed on the gallery image [Succeeded, Failed, InProgress] /// [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).ProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).ProvisioningStatus = value ?? null; } + public string ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).ProvisioningStatus; } /// The ID of the operation performed on the gallery image [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).ProvisioningStatusOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).ProvisioningStatusOperationId = value ?? null; } + public string ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).ProvisioningStatusOperationId; } /// Gets the resource group name [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Owned)] @@ -164,45 +200,45 @@ public partial class GalleryImages : /// GalleryImage provisioning error code [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).StatusErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).StatusErrorCode = value ?? null; } + public string StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).StatusErrorCode; } /// Descriptive error message [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).StatusErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).StatusErrorMessage = value ?? null; } + public string StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).StatusErrorMessage; } /// The progress of the operation in percentage [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public long? StatusProgressPercentage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).StatusProgressPercentage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).StatusProgressPercentage = value ?? default(long); } + public long? StatusProgressPercentage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagePropertiesInternal)Property).StatusProgressPercentage; } /// /// Azure Resource Manager metadata containing createdBy and modifiedBy information. /// [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - internal Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData; } + internal Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; } /// The timestamp of resource creation (UTC). [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); } + public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; } /// The identity that created the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; } + public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; } /// The type of identity that created the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; } + public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; } /// The timestamp of resource last modification (UTC) [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } + public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; } /// The identity that last modified the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; } + public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; } /// The type of identity that last modified the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; } + public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; } /// Resource tags. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] @@ -354,8 +390,8 @@ public partial interface IGalleryImages : Update = true, Description = @"location of the image the gallery image should be created from", SerializedName = @"imagePath", - PossibleTypes = new [] { typeof(string) })] - string ImagePath { get; set; } + PossibleTypes = new [] { typeof(System.Security.SecureString) })] + System.Security.SecureString ImagePath { get; set; } /// This property indicates the size of the VHD to be created. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Info( Required = false, @@ -494,7 +530,7 @@ internal partial interface IGalleryImagesInternal : /// The name of the gallery image definition SKU. string IdentifierSku { get; set; } /// location of the image the gallery image should be created from - string ImagePath { get; set; } + System.Security.SecureString ImagePath { get; set; } /// This property indicates the size of the VHD to be created. long? OSDiskImageSizeInMb { get; set; } /// Operating system type that the gallery image uses [Windows, Linux] diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryOSDiskImage.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryOSDiskImage.cs index c18ee0fa61fe..6c26cec08ee3 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryOSDiskImage.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GalleryOSDiskImage.cs @@ -20,7 +20,7 @@ public partial class GalleryOSDiskImage : private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryDiskImage __galleryDiskImage = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.GalleryDiskImage(); /// Internal Acessors for SizeInMb - long? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryDiskImageInternal.SizeInMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryDiskImageInternal)__galleryDiskImage).SizeInMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryDiskImageInternal)__galleryDiskImage).SizeInMb = value; } + long? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryDiskImageInternal.SizeInMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryDiskImageInternal)__galleryDiskImage).SizeInMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryDiskImageInternal)__galleryDiskImage).SizeInMb = value ?? default(long); } /// This property indicates the size of the VHD to be created. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GuestAgent.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GuestAgent.cs index ec60b7482e65..4e1875671c88 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GuestAgent.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/GuestAgent.cs @@ -33,28 +33,46 @@ public partial class GuestAgent : public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Id; } /// Internal Acessors for Credentials - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestCredential Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentInternal.Credentials { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentPropertiesInternal)Property).Credentials; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentPropertiesInternal)Property).Credentials = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestCredential Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentInternal.Credentials { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentPropertiesInternal)Property).Credentials; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentPropertiesInternal)Property).Credentials = value ?? null /* model class */; } /// Internal Acessors for Property Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentProperties Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.GuestAgentProperties()); set { {_property = value;} } } /// Internal Acessors for ProvisioningState - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentPropertiesInternal)Property).ProvisioningState = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentPropertiesInternal)Property).ProvisioningState = value ?? null; } /// Internal Acessors for Status - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentPropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentPropertiesInternal)Property).Status = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentPropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentPropertiesInternal)Property).Status = value ?? null; } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Id = value ?? null; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Name = value ?? null; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemData = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; } + + /// Internal Acessors for SystemDataCreatedAt + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); } + + /// Internal Acessors for SystemDataCreatedBy + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; } + + /// Internal Acessors for SystemDataCreatedByType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; } + + /// Internal Acessors for SystemDataLastModifiedAt + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } + + /// Internal Acessors for SystemDataLastModifiedBy + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; } + + /// Internal Acessors for SystemDataLastModifiedByType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Type = value ?? null; } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] @@ -87,31 +105,31 @@ public partial class GuestAgent : /// Azure Resource Manager metadata containing createdBy and modifiedBy information. /// [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - internal Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemData; } + internal Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; } /// The timestamp of resource creation (UTC). [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); } + public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; } /// The identity that created the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; } + public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; } /// The type of identity that created the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; } + public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; } /// The timestamp of resource last modification (UTC) [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } + public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; } /// The identity that last modified the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; } + public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; } /// The type of identity that last modified the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; } + public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; } /// /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/HybridIdentityMetadata.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/HybridIdentityMetadata.cs index b4e0e50a7d5b..81c7b304356c 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/HybridIdentityMetadata.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/HybridIdentityMetadata.cs @@ -34,34 +34,55 @@ public partial class HybridIdentityMetadata : /// The identity type. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityType = value ?? null; } + public string IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityType; } /// Internal Acessors for Identity - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentity Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataInternal.Identity { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesInternal)Property).Identity; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesInternal)Property).Identity = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentity Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataInternal.Identity { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesInternal)Property).Identity; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesInternal)Property).Identity = value ?? null /* model class */; } /// Internal Acessors for IdentityPrincipalId - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityPrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityPrincipalId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityPrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityPrincipalId = value ?? null; } /// Internal Acessors for IdentityTenantId - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityTenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityTenantId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityTenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityTenantId = value ?? null; } + + /// Internal Acessors for IdentityType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataInternal.IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesInternal)Property).IdentityType = value ?? null; } /// Internal Acessors for Property Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataProperties Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.HybridIdentityMetadataProperties()); set { {_property = value;} } } /// Internal Acessors for ProvisioningState - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesInternal)Property).ProvisioningState = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesInternal)Property).ProvisioningState = value ?? null; } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Id = value ?? null; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Name = value ?? null; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemData = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; } + + /// Internal Acessors for SystemDataCreatedAt + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); } + + /// Internal Acessors for SystemDataCreatedBy + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; } + + /// Internal Acessors for SystemDataCreatedByType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; } + + /// Internal Acessors for SystemDataLastModifiedAt + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } + + /// Internal Acessors for SystemDataLastModifiedBy + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; } + + /// Internal Acessors for SystemDataLastModifiedByType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Type = value ?? null; } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] @@ -94,31 +115,31 @@ public partial class HybridIdentityMetadata : /// Azure Resource Manager metadata containing createdBy and modifiedBy information. /// [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - internal Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemData; } + internal Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; } /// The timestamp of resource creation (UTC). [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); } + public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; } /// The identity that created the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; } + public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; } /// The type of identity that created the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; } + public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; } /// The timestamp of resource last modification (UTC) [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } + public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; } /// The identity that last modified the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; } + public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; } /// The type of identity that last modified the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; } + public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; } /// /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/HybridIdentityMetadataAutoGenerated.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/HybridIdentityMetadataAutoGenerated.cs index 1225a61ba546..77b319cd7e84 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/HybridIdentityMetadataAutoGenerated.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/HybridIdentityMetadataAutoGenerated.cs @@ -34,31 +34,52 @@ public partial class HybridIdentityMetadataAutoGenerated : /// The identity type. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesAutoGeneratedInternal)Property).IdentityType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesAutoGeneratedInternal)Property).IdentityType = value ?? null; } + public string IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesAutoGeneratedInternal)Property).IdentityType; } /// Internal Acessors for Identity - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentity Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataAutoGeneratedInternal.Identity { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesAutoGeneratedInternal)Property).Identity; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesAutoGeneratedInternal)Property).Identity = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentity Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataAutoGeneratedInternal.Identity { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesAutoGeneratedInternal)Property).Identity; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesAutoGeneratedInternal)Property).Identity = value ?? null /* model class */; } /// Internal Acessors for IdentityPrincipalId - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataAutoGeneratedInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesAutoGeneratedInternal)Property).IdentityPrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesAutoGeneratedInternal)Property).IdentityPrincipalId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataAutoGeneratedInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesAutoGeneratedInternal)Property).IdentityPrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesAutoGeneratedInternal)Property).IdentityPrincipalId = value ?? null; } /// Internal Acessors for IdentityTenantId - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataAutoGeneratedInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesAutoGeneratedInternal)Property).IdentityTenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesAutoGeneratedInternal)Property).IdentityTenantId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataAutoGeneratedInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesAutoGeneratedInternal)Property).IdentityTenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesAutoGeneratedInternal)Property).IdentityTenantId = value ?? null; } + + /// Internal Acessors for IdentityType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataAutoGeneratedInternal.IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesAutoGeneratedInternal)Property).IdentityType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesAutoGeneratedInternal)Property).IdentityType = value ?? null; } /// Internal Acessors for Property Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesAutoGenerated Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataAutoGeneratedInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.HybridIdentityMetadataPropertiesAutoGenerated()); set { {_property = value;} } } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Id = value ?? null; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Name = value ?? null; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemData = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; } + + /// Internal Acessors for SystemDataCreatedAt + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); } + + /// Internal Acessors for SystemDataCreatedBy + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; } + + /// Internal Acessors for SystemDataCreatedByType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; } + + /// Internal Acessors for SystemDataLastModifiedAt + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } + + /// Internal Acessors for SystemDataLastModifiedBy + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; } + + /// Internal Acessors for SystemDataLastModifiedByType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Type = value ?? null; } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] @@ -83,31 +104,31 @@ public partial class HybridIdentityMetadataAutoGenerated : /// Azure Resource Manager metadata containing createdBy and modifiedBy information. /// [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - internal Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemData; } + internal Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; } /// The timestamp of resource creation (UTC). [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); } + public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; } /// The identity that created the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; } + public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; } /// The type of identity that created the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; } + public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; } /// The timestamp of resource last modification (UTC) [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } + public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; } /// The identity that last modified the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; } + public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; } /// The type of identity that last modified the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; } + public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; } /// /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/HybridIdentityMetadataProperties.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/HybridIdentityMetadataProperties.cs index a4763274243a..3bc852ee6100 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/HybridIdentityMetadataProperties.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/HybridIdentityMetadataProperties.cs @@ -30,16 +30,19 @@ public partial class HybridIdentityMetadataProperties : /// The identity type. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).Type = value ?? null; } + public string IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).Type; } /// Internal Acessors for Identity Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentity Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.Identity()); set { {_identity = value;} } } /// Internal Acessors for IdentityPrincipalId - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).PrincipalId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).PrincipalId = value ?? null; } /// Internal Acessors for IdentityTenantId - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).TenantId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).TenantId = value ?? null; } + + /// Internal Acessors for IdentityType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesInternal.IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).Type = value ?? null; } /// Internal Acessors for ProvisioningState string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/HybridIdentityMetadataPropertiesAutoGenerated.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/HybridIdentityMetadataPropertiesAutoGenerated.cs index d68313c95e09..a9eee61ad78a 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/HybridIdentityMetadataPropertiesAutoGenerated.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/HybridIdentityMetadataPropertiesAutoGenerated.cs @@ -30,16 +30,19 @@ public partial class HybridIdentityMetadataPropertiesAutoGenerated : /// The identity type. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).Type = value ?? null; } + public string IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).Type; } /// Internal Acessors for Identity Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentity Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesAutoGeneratedInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.Identity()); set { {_identity = value;} } } /// Internal Acessors for IdentityPrincipalId - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesAutoGeneratedInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).PrincipalId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesAutoGeneratedInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).PrincipalId = value ?? null; } /// Internal Acessors for IdentityTenantId - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesAutoGeneratedInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).TenantId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesAutoGeneratedInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).TenantId = value ?? null; } + + /// Internal Acessors for IdentityType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHybridIdentityMetadataPropertiesAutoGeneratedInternal.IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).Type = value ?? null; } /// Backing field for property. private string _publicKey; diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/IPAddress.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/IPAddress.cs index bd6c95025720..6f606de5d281 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/IPAddress.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/IPAddress.cs @@ -23,6 +23,9 @@ public partial class IPAddress : /// Internal Acessors for Subnet Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetAutoGenerated Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPAddressInternal.Subnet { get => (this._subnet = this._subnet ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.SubnetAutoGenerated()); set { {_subnet = value;} } } + /// Internal Acessors for SubnetAddressPrefix + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPAddressInternal.SubnetAddressPrefix { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetAutoGeneratedInternal)Subnet).AddressPrefix; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetAutoGeneratedInternal)Subnet).AddressPrefix = value ?? null; } + /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetAutoGenerated _subnet; @@ -32,7 +35,7 @@ public partial class IPAddress : /// Represents address prefix. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string SubnetAddressPrefix { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetAutoGeneratedInternal)Subnet).AddressPrefix; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetAutoGeneratedInternal)Subnet).AddressPrefix = value ?? null; } + public string SubnetAddressPrefix { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetAutoGeneratedInternal)Subnet).AddressPrefix; } /// Backing field for property. private string _version; diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/IPConfiguration.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/IPConfiguration.cs index 1d58b4bcde10..e4c47ab90c85 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/IPConfiguration.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/IPConfiguration.cs @@ -22,16 +22,16 @@ public partial class IPConfiguration : public string IPAddress { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPConfigurationPropertiesInternal)Property).PrivateIPAddress; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPConfigurationPropertiesInternal)Property).PrivateIPAddress = value ?? null; } /// Internal Acessors for Gateway - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPConfigurationInternal.Gateway { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPConfigurationPropertiesInternal)Property).Gateway; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPConfigurationPropertiesInternal)Property).Gateway = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPConfigurationInternal.Gateway { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPConfigurationPropertiesInternal)Property).Gateway; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPConfigurationPropertiesInternal)Property).Gateway = value ?? null; } /// Internal Acessors for PrefixLength - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPConfigurationInternal.PrefixLength { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPConfigurationPropertiesInternal)Property).PrefixLength; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPConfigurationPropertiesInternal)Property).PrefixLength = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPConfigurationInternal.PrefixLength { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPConfigurationPropertiesInternal)Property).PrefixLength; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPConfigurationPropertiesInternal)Property).PrefixLength = value ?? null; } /// Internal Acessors for Property Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPConfigurationProperties Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPConfigurationInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IPConfigurationProperties()); set { {_property = value;} } } /// Internal Acessors for Subnet - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPConfigurationPropertiesSubnet Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPConfigurationInternal.Subnet { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPConfigurationPropertiesInternal)Property).Subnet; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPConfigurationPropertiesInternal)Property).Subnet = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPConfigurationPropertiesSubnet Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPConfigurationInternal.Subnet { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPConfigurationPropertiesInternal)Property).Subnet; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPConfigurationPropertiesInternal)Property).Subnet = value ?? null /* model class */; } /// Backing field for property. private string _name; diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/IPPool.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/IPPool.cs index 9ef86a42e748..48539db5437c 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/IPPool.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/IPPool.cs @@ -37,10 +37,10 @@ public partial class IPPool : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPPoolInfo Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPPoolInternal.Info { get => (this._info = this._info ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IPPoolInfo()); set { {_info = value;} } } /// Internal Acessors for InfoAvailable - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPPoolInternal.InfoAvailable { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPPoolInfoInternal)Info).Available; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPPoolInfoInternal)Info).Available = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPPoolInternal.InfoAvailable { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPPoolInfoInternal)Info).Available; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPPoolInfoInternal)Info).Available = value ?? null; } /// Internal Acessors for InfoUsed - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPPoolInternal.InfoUsed { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPPoolInfoInternal)Info).Used; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPPoolInfoInternal)Info).Used = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPPoolInternal.InfoUsed { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPPoolInfoInternal)Info).Used; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIPPoolInfoInternal)Info).Used = value ?? null; } /// Backing field for property. private string _name; diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/LogicalNetworkProperties.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/LogicalNetworkProperties.cs index 006bfc5a401d..dc98cecbfa22 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/LogicalNetworkProperties.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/LogicalNetworkProperties.cs @@ -33,11 +33,23 @@ public partial class LogicalNetworkProperties : /// Internal Acessors for ProvisioningState string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } + /// Internal Acessors for ProvisioningStatus + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal.ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkStatusInternal)Status).ProvisioningStatusStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkStatusInternal)Status).ProvisioningStatusStatus = value ?? null; } + + /// Internal Acessors for ProvisioningStatusOperationId + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal.ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkStatusInternal)Status).ProvisioningStatusOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkStatusInternal)Status).ProvisioningStatusOperationId = value ?? null; } + /// Internal Acessors for Status Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal.Status { get => (this._status = this._status ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.LogicalNetworkStatus()); set { {_status = value;} } } + /// Internal Acessors for StatusErrorCode + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal.StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkStatusInternal)Status).ErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkStatusInternal)Status).ErrorCode = value ?? null; } + + /// Internal Acessors for StatusErrorMessage + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal.StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkStatusInternal)Status).ErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkStatusInternal)Status).ErrorMessage = value ?? null; } + /// Internal Acessors for StatusProvisioningStatus - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkStatusProvisioningStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal.StatusProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkStatusInternal)Status).ProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkStatusInternal)Status).ProvisioningStatus = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkStatusProvisioningStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal.StatusProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkStatusInternal)Status).ProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkStatusInternal)Status).ProvisioningStatus = value ?? null /* model class */; } /// Backing field for property. private string _provisioningState; @@ -50,11 +62,11 @@ public partial class LogicalNetworkProperties : /// The status of the operation performed on the logical network [Succeeded, Failed, InProgress] /// [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkStatusInternal)Status).ProvisioningStatusStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkStatusInternal)Status).ProvisioningStatusStatus = value ?? null; } + public string ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkStatusInternal)Status).ProvisioningStatusStatus; } /// The ID of the operation performed on the logical network [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkStatusInternal)Status).ProvisioningStatusOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkStatusInternal)Status).ProvisioningStatusOperationId = value ?? null; } + public string ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkStatusInternal)Status).ProvisioningStatusOperationId; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkStatus _status; @@ -65,11 +77,11 @@ public partial class LogicalNetworkProperties : /// LogicalNetwork provisioning error code [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkStatusInternal)Status).ErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkStatusInternal)Status).ErrorCode = value ?? null; } + public string StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkStatusInternal)Status).ErrorCode; } /// Descriptive error message [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkStatusInternal)Status).ErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkStatusInternal)Status).ErrorMessage = value ?? null; } + public string StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkStatusInternal)Status).ErrorMessage; } /// Backing field for property. private System.Collections.Generic.List _subnet; diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/LogicalNetworks.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/LogicalNetworks.cs index 9b72dc650d2b..b29176c77f32 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/LogicalNetworks.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/LogicalNetworks.cs @@ -45,10 +45,10 @@ public partial class LogicalNetworks : /// The geo-location where the resource lives [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ITrackedResourceInternal)__trackedResource).Location = value ; } + public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; } /// Internal Acessors for DhcpOption - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesDhcpOptions Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworksInternal.DhcpOption { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).DhcpOption; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).DhcpOption = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesDhcpOptions Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworksInternal.DhcpOption { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).DhcpOption; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).DhcpOption = value ?? null /* model class */; } /// Internal Acessors for ExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworksInternal.ExtendedLocation { get => (this._extendedLocation = this._extendedLocation ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ExtendedLocation()); set { {_extendedLocation = value;} } } @@ -57,25 +57,55 @@ public partial class LogicalNetworks : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkProperties Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworksInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.LogicalNetworkProperties()); set { {_property = value;} } } /// Internal Acessors for ProvisioningState - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworksInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).ProvisioningState = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworksInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).ProvisioningState = value ?? null; } + + /// Internal Acessors for ProvisioningStatus + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworksInternal.ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).ProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).ProvisioningStatus = value ?? null; } + + /// Internal Acessors for ProvisioningStatusOperationId + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworksInternal.ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).ProvisioningStatusOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).ProvisioningStatusOperationId = value ?? null; } /// Internal Acessors for Status - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworksInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).Status = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworksInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).Status = value ?? null /* model class */; } + + /// Internal Acessors for StatusErrorCode + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworksInternal.StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).StatusErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).StatusErrorCode = value ?? null; } + + /// Internal Acessors for StatusErrorMessage + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworksInternal.StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).StatusErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).StatusErrorMessage = value ?? null; } /// Internal Acessors for StatusProvisioningStatus - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkStatusProvisioningStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworksInternal.StatusProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).StatusProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).StatusProvisioningStatus = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkStatusProvisioningStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworksInternal.StatusProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).StatusProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).StatusProvisioningStatus = value ?? null /* model class */; } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Id = value ?? null; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Name = value ?? null; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; } + + /// Internal Acessors for SystemDataCreatedAt + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); } + + /// Internal Acessors for SystemDataCreatedBy + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; } + + /// Internal Acessors for SystemDataCreatedByType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; } + + /// Internal Acessors for SystemDataLastModifiedAt + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } + + /// Internal Acessors for SystemDataLastModifiedBy + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; } + + /// Internal Acessors for SystemDataLastModifiedByType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Type = value ?? null; } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] @@ -96,11 +126,11 @@ public partial class LogicalNetworks : /// The status of the operation performed on the logical network [Succeeded, Failed, InProgress] /// [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).ProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).ProvisioningStatus = value ?? null; } + public string ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).ProvisioningStatus; } /// The ID of the operation performed on the logical network [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).ProvisioningStatusOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).ProvisioningStatusOperationId = value ?? null; } + public string ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).ProvisioningStatusOperationId; } /// Gets the resource group name [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Owned)] @@ -108,11 +138,11 @@ public partial class LogicalNetworks : /// LogicalNetwork provisioning error code [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).StatusErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).StatusErrorCode = value ?? null; } + public string StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).StatusErrorCode; } /// Descriptive error message [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).StatusErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).StatusErrorMessage = value ?? null; } + public string StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesInternal)Property).StatusErrorMessage; } /// Subnet - list of subnets under the logical network [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] @@ -122,31 +152,31 @@ public partial class LogicalNetworks : /// Azure Resource Manager metadata containing createdBy and modifiedBy information. /// [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - internal Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData; } + internal Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; } /// The timestamp of resource creation (UTC). [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); } + public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; } /// The identity that created the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; } + public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; } /// The type of identity that created the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; } + public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; } /// The timestamp of resource last modification (UTC) [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } + public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; } /// The identity that last modified the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; } + public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; } /// The type of identity that last modified the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; } + public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; } /// Resource tags. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/Machine.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/Machine.cs index 38f0e6559d84..e0f3ca6875c4 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/Machine.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/Machine.cs @@ -191,7 +191,7 @@ public partial class Machine : /// The geo-location where the resource lives [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ITrackedResourceInternal)__trackedResource).Location = value ; } + public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; } /// The city or locality where the resource is located. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] @@ -210,157 +210,178 @@ public partial class Machine : public string LocationDataName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).LocationDataName; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).LocationDataName = value ?? null; } /// Internal Acessors for AdFqdn - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.AdFqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AdFqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AdFqdn = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.AdFqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AdFqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AdFqdn = value ?? null; } /// Internal Acessors for AgentConfiguration - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.AgentConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfiguration = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.AgentConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfiguration = value ?? null /* model class */; } /// Internal Acessors for AgentConfigurationConfigMode - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.AgentConfigurationConfigMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfigurationConfigMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfigurationConfigMode = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.AgentConfigurationConfigMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfigurationConfigMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfigurationConfigMode = value ?? null; } /// Internal Acessors for AgentConfigurationExtensionsAllowList - System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.AgentConfigurationExtensionsAllowList { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsAllowList; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsAllowList = value; } + System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.AgentConfigurationExtensionsAllowList { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsAllowList; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsAllowList = value ?? null /* arrayOf */; } /// Internal Acessors for AgentConfigurationExtensionsBlockList - System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.AgentConfigurationExtensionsBlockList { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsBlockList; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsBlockList = value; } + System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.AgentConfigurationExtensionsBlockList { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsBlockList; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsBlockList = value ?? null /* arrayOf */; } /// Internal Acessors for AgentConfigurationExtensionsEnabled - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.AgentConfigurationExtensionsEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsEnabled = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.AgentConfigurationExtensionsEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfigurationExtensionsEnabled = value ?? null; } /// Internal Acessors for AgentConfigurationGuestConfigurationEnabled - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.AgentConfigurationGuestConfigurationEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfigurationGuestConfigurationEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfigurationGuestConfigurationEnabled = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.AgentConfigurationGuestConfigurationEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfigurationGuestConfigurationEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfigurationGuestConfigurationEnabled = value ?? null; } /// Internal Acessors for AgentConfigurationIncomingConnectionsPort - System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.AgentConfigurationIncomingConnectionsPort { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfigurationIncomingConnectionsPort; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfigurationIncomingConnectionsPort = value; } + System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.AgentConfigurationIncomingConnectionsPort { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfigurationIncomingConnectionsPort; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfigurationIncomingConnectionsPort = value ?? null /* arrayOf */; } /// Internal Acessors for AgentConfigurationProxyBypass - System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.AgentConfigurationProxyBypass { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfigurationProxyBypass; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfigurationProxyBypass = value; } + System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.AgentConfigurationProxyBypass { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfigurationProxyBypass; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfigurationProxyBypass = value ?? null /* arrayOf */; } /// Internal Acessors for AgentConfigurationProxyUrl - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.AgentConfigurationProxyUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfigurationProxyUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfigurationProxyUrl = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.AgentConfigurationProxyUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfigurationProxyUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentConfigurationProxyUrl = value ?? null; } /// Internal Acessors for AgentUpgrade - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgrade Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.AgentUpgrade { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentUpgrade; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentUpgrade = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgrade Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.AgentUpgrade { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentUpgrade; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentUpgrade = value ?? null /* model class */; } /// Internal Acessors for AgentUpgradeLastAttemptDesiredVersion - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.AgentUpgradeLastAttemptDesiredVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptDesiredVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptDesiredVersion = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.AgentUpgradeLastAttemptDesiredVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptDesiredVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptDesiredVersion = value ?? null; } /// Internal Acessors for AgentUpgradeLastAttemptMessage - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.AgentUpgradeLastAttemptMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptMessage = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.AgentUpgradeLastAttemptMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptMessage = value ?? null; } /// Internal Acessors for AgentUpgradeLastAttemptStatus - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.AgentUpgradeLastAttemptStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptStatus = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.AgentUpgradeLastAttemptStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptStatus = value ?? null; } /// Internal Acessors for AgentUpgradeLastAttemptTimestamp - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.AgentUpgradeLastAttemptTimestamp { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptTimestamp; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptTimestamp = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.AgentUpgradeLastAttemptTimestamp { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptTimestamp; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentUpgradeLastAttemptTimestamp = value ?? null; } /// Internal Acessors for AgentVersion - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.AgentVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentVersion = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.AgentVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).AgentVersion = value ?? null; } /// Internal Acessors for CloudMetadata - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ICloudMetadata Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.CloudMetadata { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).CloudMetadata; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).CloudMetadata = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ICloudMetadata Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.CloudMetadata { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).CloudMetadata; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).CloudMetadata = value ?? null /* model class */; } /// Internal Acessors for CloudMetadataProvider - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.CloudMetadataProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).CloudMetadataProvider; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).CloudMetadataProvider = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.CloudMetadataProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).CloudMetadataProvider; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).CloudMetadataProvider = value ?? null; } /// Internal Acessors for DetectedProperty - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IDetectedProperties Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.DetectedProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).DetectedProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).DetectedProperty = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IDetectedProperties Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.DetectedProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).DetectedProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).DetectedProperty = value ?? null /* model class */; } /// Internal Acessors for DisplayName - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.DisplayName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).DisplayName; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).DisplayName = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.DisplayName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).DisplayName; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).DisplayName = value ?? null; } /// Internal Acessors for DnsFqdn - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.DnsFqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).DnsFqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).DnsFqdn = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.DnsFqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).DnsFqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).DnsFqdn = value ?? null; } /// Internal Acessors for DomainName - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.DomainName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).DomainName; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).DomainName = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.DomainName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).DomainName; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).DomainName = value ?? null; } /// Internal Acessors for ErrorDetail - System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.ErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).ErrorDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).ErrorDetail = value; } + System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.ErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).ErrorDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).ErrorDetail = value ?? null /* arrayOf */; } /// Internal Acessors for Fqdn - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.Fqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).MachineFqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).MachineFqdn = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.Fqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).MachineFqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).MachineFqdn = value ?? null; } /// Internal Acessors for Identity Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentity Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.Identity()); set { {_identity = value;} } } /// Internal Acessors for IdentityPrincipalId - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).PrincipalId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).PrincipalId = value ?? null; } /// Internal Acessors for IdentityTenantId - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).TenantId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).TenantId = value ?? null; } /// Internal Acessors for LastStatusChange - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.LastStatusChange { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).LastStatusChange; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).LastStatusChange = value; } + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.LastStatusChange { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).LastStatusChange; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).LastStatusChange = value ?? default(global::System.DateTime); } /// Internal Acessors for LinuxConfigurationPatchSetting - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IPatchSettings Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.LinuxConfigurationPatchSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).LinuxConfigurationPatchSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).LinuxConfigurationPatchSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IPatchSettings Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.LinuxConfigurationPatchSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).LinuxConfigurationPatchSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).LinuxConfigurationPatchSetting = value ?? null /* model class */; } /// Internal Acessors for LocationData - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILocationData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.LocationData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).LocationData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).LocationData = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILocationData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.LocationData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).LocationData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).LocationData = value ?? null /* model class */; } /// Internal Acessors for NetworkProfile - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.NetworkProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).NetworkProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).NetworkProfile = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.NetworkProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).NetworkProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).NetworkProfile = value ?? null /* model class */; } + + /// Internal Acessors for NetworkProfileNetworkInterface + System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.NetworkProfileNetworkInterface { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).NetworkProfileNetworkInterface; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).NetworkProfileNetworkInterface = value ?? null /* arrayOf */; } /// Internal Acessors for OSName - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.OSName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).OSName; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).OSName = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.OSName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).OSName; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).OSName = value ?? null; } /// Internal Acessors for OSProfile - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.OSProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).OSProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).OSProfile = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.OSProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).OSProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).OSProfile = value ?? null /* model class */; } /// Internal Acessors for OSProfileComputerName - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.OSProfileComputerName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).OSProfileComputerName; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).OSProfileComputerName = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.OSProfileComputerName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).OSProfileComputerName; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).OSProfileComputerName = value ?? null; } /// Internal Acessors for OSProfileLinuxConfiguration - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileLinuxConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.OSProfileLinuxConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).OSProfileLinuxConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).OSProfileLinuxConfiguration = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileLinuxConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.OSProfileLinuxConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).OSProfileLinuxConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).OSProfileLinuxConfiguration = value ?? null /* model class */; } /// Internal Acessors for OSProfileWindowsConfiguration - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileWindowsConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.OSProfileWindowsConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).OSProfileWindowsConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).OSProfileWindowsConfiguration = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileWindowsConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.OSProfileWindowsConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).OSProfileWindowsConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).OSProfileWindowsConfiguration = value ?? null /* model class */; } /// Internal Acessors for OSSku - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.OSSku { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).OSSku; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).OSSku = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.OSSku { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).OSSku; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).OSSku = value ?? null; } /// Internal Acessors for OSVersion - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.OSVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).OSVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).OSVersion = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.OSVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).OSVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).OSVersion = value ?? null; } /// Internal Acessors for Property Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineProperties Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.MachineProperties()); set { {_property = value;} } } /// Internal Acessors for ProvisioningState - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).ProvisioningState = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).ProvisioningState = value ?? null; } /// Internal Acessors for Resource System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.Resource { get => this._resource; set { {_resource = value;} } } /// Internal Acessors for ServiceStatuses - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IServiceStatuses Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.ServiceStatuses { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).ServiceStatuses; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).ServiceStatuses = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IServiceStatuses Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.ServiceStatuses { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).ServiceStatuses; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).ServiceStatuses = value ?? null /* model class */; } /// Internal Acessors for ServiceStatusesExtensionService - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IServiceStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.ServiceStatusesExtensionService { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).ServiceStatusesExtensionService; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).ServiceStatusesExtensionService = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IServiceStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.ServiceStatusesExtensionService { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).ServiceStatusesExtensionService; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).ServiceStatusesExtensionService = value ?? null /* model class */; } /// Internal Acessors for ServiceStatusesGuestConfigurationService - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IServiceStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.ServiceStatusesGuestConfigurationService { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).ServiceStatusesGuestConfigurationService; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).ServiceStatusesGuestConfigurationService = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IServiceStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.ServiceStatusesGuestConfigurationService { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).ServiceStatusesGuestConfigurationService; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).ServiceStatusesGuestConfigurationService = value ?? null /* model class */; } /// Internal Acessors for Status - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).Status = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).Status = value ?? null; } /// Internal Acessors for VMUuid - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.VMUuid { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).VMUuid; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).VMUuid = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.VMUuid { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).VMUuid; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).VMUuid = value ?? null; } /// Internal Acessors for WindowConfigurationPatchSetting - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IPatchSettings Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.WindowConfigurationPatchSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).WindowConfigurationPatchSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).WindowConfigurationPatchSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IPatchSettings Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineInternal.WindowConfigurationPatchSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).WindowConfigurationPatchSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).WindowConfigurationPatchSetting = value ?? null /* model class */; } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Id = value ?? null; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Name = value ?? null; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; } + + /// Internal Acessors for SystemDataCreatedAt + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); } + + /// Internal Acessors for SystemDataCreatedBy + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; } + + /// Internal Acessors for SystemDataCreatedByType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; } + + /// Internal Acessors for SystemDataLastModifiedAt + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } + + /// Internal Acessors for SystemDataLastModifiedBy + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; } + + /// Internal Acessors for SystemDataLastModifiedByType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Type = value ?? null; } /// Specifies whether any MS SQL instance is discovered on the machine. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] @@ -372,7 +393,7 @@ public partial class Machine : /// The list of network interfaces. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public System.Collections.Generic.List NetworkProfileNetworkInterface { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).NetworkProfileNetworkInterface; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).NetworkProfileNetworkInterface = value ?? null /* arrayOf */; } + public System.Collections.Generic.List NetworkProfileNetworkInterface { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal)Property).NetworkProfileNetworkInterface; } /// The Operating System running on the hybrid machine. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] @@ -434,31 +455,31 @@ public partial class Machine : /// Azure Resource Manager metadata containing createdBy and modifiedBy information. /// [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - internal Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData; } + internal Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; } /// The timestamp of resource creation (UTC). [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); } + public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; } /// The identity that created the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; } + public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; } /// The type of identity that created the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; } + public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; } /// The timestamp of resource last modification (UTC) [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } + public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; } /// The identity that last modified the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; } + public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; } /// The type of identity that last modified the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; } + public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; } /// Resource tags. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/MachineExtension.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/MachineExtension.cs index 2f5305098a66..700d5798fdc1 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/MachineExtension.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/MachineExtension.cs @@ -57,31 +57,49 @@ public partial class MachineExtension : /// The geo-location where the resource lives [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ITrackedResourceInternal)__trackedResource).Location = value ; } + public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; } /// Internal Acessors for InstanceView - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionInstanceView Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionInternal.InstanceView { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionPropertiesInternal)Property).InstanceView; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionPropertiesInternal)Property).InstanceView = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionInstanceView Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionInternal.InstanceView { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionPropertiesInternal)Property).InstanceView; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionPropertiesInternal)Property).InstanceView = value ?? null /* model class */; } /// Internal Acessors for InstanceViewStatus - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionInstanceViewStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionInternal.InstanceViewStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionPropertiesInternal)Property).InstanceViewStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionPropertiesInternal)Property).InstanceViewStatus = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionInstanceViewStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionInternal.InstanceViewStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionPropertiesInternal)Property).InstanceViewStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionPropertiesInternal)Property).InstanceViewStatus = value ?? null /* model class */; } /// Internal Acessors for Property Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionProperties Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.MachineExtensionProperties()); set { {_property = value;} } } /// Internal Acessors for ProvisioningState - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionPropertiesInternal)Property).ProvisioningState = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionPropertiesInternal)Property).ProvisioningState = value ?? null; } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Id = value ?? null; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Name = value ?? null; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; } + + /// Internal Acessors for SystemDataCreatedAt + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); } + + /// Internal Acessors for SystemDataCreatedBy + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; } + + /// Internal Acessors for SystemDataCreatedByType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; } + + /// Internal Acessors for SystemDataLastModifiedAt + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } + + /// Internal Acessors for SystemDataLastModifiedBy + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; } + + /// Internal Acessors for SystemDataLastModifiedByType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Type = value ?? null; } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] @@ -144,31 +162,31 @@ public partial class MachineExtension : /// Azure Resource Manager metadata containing createdBy and modifiedBy information. /// [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - internal Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData; } + internal Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; } /// The timestamp of resource creation (UTC). [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); } + public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; } /// The identity that created the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; } + public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; } /// The type of identity that created the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; } + public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; } /// The timestamp of resource last modification (UTC) [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } + public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; } /// The identity that last modified the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; } + public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; } /// The type of identity that last modified the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; } + public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; } /// Resource tags. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/MachineExtensionProperties.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/MachineExtensionProperties.cs index 1e619c727110..ce1b56fe9b80 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/MachineExtensionProperties.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/MachineExtensionProperties.cs @@ -64,7 +64,7 @@ public partial class MachineExtensionProperties : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionInstanceView Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionPropertiesInternal.InstanceView { get => (this._instanceView = this._instanceView ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.MachineExtensionInstanceView()); set { {_instanceView = value;} } } /// Internal Acessors for InstanceViewStatus - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionInstanceViewStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionPropertiesInternal.InstanceViewStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionInstanceViewInternal)InstanceView).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionInstanceViewInternal)InstanceView).Status = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionInstanceViewStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionPropertiesInternal.InstanceViewStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionInstanceViewInternal)InstanceView).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionInstanceViewInternal)InstanceView).Status = value ?? null /* model class */; } /// Internal Acessors for ProvisioningState string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/MachineProperties.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/MachineProperties.cs index 2d67f7f9ec53..83fbe2678378 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/MachineProperties.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/MachineProperties.cs @@ -236,43 +236,43 @@ public partial class MachineProperties : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.AgentConfiguration { get => (this._agentConfiguration = this._agentConfiguration ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.AgentConfiguration()); set { {_agentConfiguration = value;} } } /// Internal Acessors for AgentConfigurationConfigMode - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.AgentConfigurationConfigMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfigurationInternal)AgentConfiguration).ConfigMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfigurationInternal)AgentConfiguration).ConfigMode = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.AgentConfigurationConfigMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfigurationInternal)AgentConfiguration).ConfigMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfigurationInternal)AgentConfiguration).ConfigMode = value ?? null; } /// Internal Acessors for AgentConfigurationExtensionsAllowList - System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.AgentConfigurationExtensionsAllowList { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsAllowList; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsAllowList = value; } + System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.AgentConfigurationExtensionsAllowList { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsAllowList; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsAllowList = value ?? null /* arrayOf */; } /// Internal Acessors for AgentConfigurationExtensionsBlockList - System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.AgentConfigurationExtensionsBlockList { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsBlockList; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsBlockList = value; } + System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.AgentConfigurationExtensionsBlockList { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsBlockList; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsBlockList = value ?? null /* arrayOf */; } /// Internal Acessors for AgentConfigurationExtensionsEnabled - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.AgentConfigurationExtensionsEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsEnabled = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.AgentConfigurationExtensionsEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfigurationInternal)AgentConfiguration).ExtensionsEnabled = value ?? null; } /// Internal Acessors for AgentConfigurationGuestConfigurationEnabled - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.AgentConfigurationGuestConfigurationEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfigurationInternal)AgentConfiguration).GuestConfigurationEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfigurationInternal)AgentConfiguration).GuestConfigurationEnabled = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.AgentConfigurationGuestConfigurationEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfigurationInternal)AgentConfiguration).GuestConfigurationEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfigurationInternal)AgentConfiguration).GuestConfigurationEnabled = value ?? null; } /// Internal Acessors for AgentConfigurationIncomingConnectionsPort - System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.AgentConfigurationIncomingConnectionsPort { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfigurationInternal)AgentConfiguration).IncomingConnectionsPort; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfigurationInternal)AgentConfiguration).IncomingConnectionsPort = value; } + System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.AgentConfigurationIncomingConnectionsPort { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfigurationInternal)AgentConfiguration).IncomingConnectionsPort; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfigurationInternal)AgentConfiguration).IncomingConnectionsPort = value ?? null /* arrayOf */; } /// Internal Acessors for AgentConfigurationProxyBypass - System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.AgentConfigurationProxyBypass { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfigurationInternal)AgentConfiguration).ProxyBypass; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfigurationInternal)AgentConfiguration).ProxyBypass = value; } + System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.AgentConfigurationProxyBypass { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfigurationInternal)AgentConfiguration).ProxyBypass; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfigurationInternal)AgentConfiguration).ProxyBypass = value ?? null /* arrayOf */; } /// Internal Acessors for AgentConfigurationProxyUrl - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.AgentConfigurationProxyUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfigurationInternal)AgentConfiguration).ProxyUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfigurationInternal)AgentConfiguration).ProxyUrl = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.AgentConfigurationProxyUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfigurationInternal)AgentConfiguration).ProxyUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentConfigurationInternal)AgentConfiguration).ProxyUrl = value ?? null; } /// Internal Acessors for AgentUpgrade Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgrade Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.AgentUpgrade { get => (this._agentUpgrade = this._agentUpgrade ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.AgentUpgrade()); set { {_agentUpgrade = value;} } } /// Internal Acessors for AgentUpgradeLastAttemptDesiredVersion - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.AgentUpgradeLastAttemptDesiredVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptDesiredVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptDesiredVersion = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.AgentUpgradeLastAttemptDesiredVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptDesiredVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptDesiredVersion = value ?? null; } /// Internal Acessors for AgentUpgradeLastAttemptMessage - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.AgentUpgradeLastAttemptMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptMessage = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.AgentUpgradeLastAttemptMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptMessage = value ?? null; } /// Internal Acessors for AgentUpgradeLastAttemptStatus - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.AgentUpgradeLastAttemptStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptStatus = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.AgentUpgradeLastAttemptStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptStatus = value ?? null; } /// Internal Acessors for AgentUpgradeLastAttemptTimestamp - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.AgentUpgradeLastAttemptTimestamp { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptTimestamp; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptTimestamp = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.AgentUpgradeLastAttemptTimestamp { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptTimestamp; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptTimestamp = value ?? null; } /// Internal Acessors for AgentVersion string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.AgentVersion { get => this._agentVersion; set { {_agentVersion = value;} } } @@ -281,7 +281,7 @@ public partial class MachineProperties : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ICloudMetadata Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.CloudMetadata { get => (this._cloudMetadata = this._cloudMetadata ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.CloudMetadata()); set { {_cloudMetadata = value;} } } /// Internal Acessors for CloudMetadataProvider - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.CloudMetadataProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ICloudMetadataInternal)CloudMetadata).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ICloudMetadataInternal)CloudMetadata).Provider = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.CloudMetadataProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ICloudMetadataInternal)CloudMetadata).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ICloudMetadataInternal)CloudMetadata).Provider = value ?? null; } /// Internal Acessors for DetectedProperty Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IDetectedProperties Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.DetectedProperty { get => (this._detectedProperty = this._detectedProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.DetectedProperties()); set { {_detectedProperty = value;} } } @@ -302,7 +302,7 @@ public partial class MachineProperties : global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.LastStatusChange { get => this._lastStatusChange; set { {_lastStatusChange = value;} } } /// Internal Acessors for LinuxConfigurationPatchSetting - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IPatchSettings Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.LinuxConfigurationPatchSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).LinuxConfigurationPatchSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).LinuxConfigurationPatchSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IPatchSettings Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.LinuxConfigurationPatchSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).LinuxConfigurationPatchSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).LinuxConfigurationPatchSetting = value ?? null /* model class */; } /// Internal Acessors for LocationData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILocationData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.LocationData { get => (this._locationData = this._locationData ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.LocationData()); set { {_locationData = value;} } } @@ -313,6 +313,9 @@ public partial class MachineProperties : /// Internal Acessors for NetworkProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.NetworkProfile { get => (this._networkProfile = this._networkProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.NetworkProfile()); set { {_networkProfile = value;} } } + /// Internal Acessors for NetworkProfileNetworkInterface + System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.NetworkProfileNetworkInterface { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkProfileInternal)NetworkProfile).NetworkInterface; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkProfileInternal)NetworkProfile).NetworkInterface = value ?? null /* arrayOf */; } + /// Internal Acessors for OSName string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.OSName { get => this._oSName; set { {_oSName = value;} } } @@ -320,13 +323,13 @@ public partial class MachineProperties : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.OSProfile { get => (this._oSProfile = this._oSProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.OSProfile()); set { {_oSProfile = value;} } } /// Internal Acessors for OSProfileComputerName - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.OSProfileComputerName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).ComputerName; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).ComputerName = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.OSProfileComputerName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).ComputerName; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).ComputerName = value ?? null; } /// Internal Acessors for OSProfileLinuxConfiguration - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileLinuxConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.OSProfileLinuxConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).LinuxConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).LinuxConfiguration = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileLinuxConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.OSProfileLinuxConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).LinuxConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).LinuxConfiguration = value ?? null /* model class */; } /// Internal Acessors for OSProfileWindowsConfiguration - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileWindowsConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.OSProfileWindowsConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).WindowsConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).WindowsConfiguration = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileWindowsConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.OSProfileWindowsConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).WindowsConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).WindowsConfiguration = value ?? null /* model class */; } /// Internal Acessors for OSSku string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.OSSku { get => this._oSSku; set { {_oSSku = value;} } } @@ -341,10 +344,10 @@ public partial class MachineProperties : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IServiceStatuses Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.ServiceStatuses { get => (this._serviceStatuses = this._serviceStatuses ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ServiceStatuses()); set { {_serviceStatuses = value;} } } /// Internal Acessors for ServiceStatusesExtensionService - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IServiceStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.ServiceStatusesExtensionService { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IServiceStatusesInternal)ServiceStatuses).ExtensionService; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IServiceStatusesInternal)ServiceStatuses).ExtensionService = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IServiceStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.ServiceStatusesExtensionService { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IServiceStatusesInternal)ServiceStatuses).ExtensionService; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IServiceStatusesInternal)ServiceStatuses).ExtensionService = value ?? null /* model class */; } /// Internal Acessors for ServiceStatusesGuestConfigurationService - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IServiceStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.ServiceStatusesGuestConfigurationService { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IServiceStatusesInternal)ServiceStatuses).GuestConfigurationService; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IServiceStatusesInternal)ServiceStatuses).GuestConfigurationService = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IServiceStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.ServiceStatusesGuestConfigurationService { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IServiceStatusesInternal)ServiceStatuses).GuestConfigurationService; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IServiceStatusesInternal)ServiceStatuses).GuestConfigurationService = value ?? null /* model class */; } /// Internal Acessors for Status string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.Status { get => this._status; set { {_status = value;} } } @@ -353,7 +356,7 @@ public partial class MachineProperties : string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.VMUuid { get => this._vMUuid; set { {_vMUuid = value;} } } /// Internal Acessors for WindowConfigurationPatchSetting - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IPatchSettings Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.WindowConfigurationPatchSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).WindowConfigurationPatchSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).WindowConfigurationPatchSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IPatchSettings Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachinePropertiesInternal.WindowConfigurationPatchSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).WindowConfigurationPatchSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).WindowConfigurationPatchSetting = value ?? null /* model class */; } /// Backing field for property. private string _mssqlDiscovered; @@ -371,7 +374,7 @@ public partial class MachineProperties : /// The list of network interfaces. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public System.Collections.Generic.List NetworkProfileNetworkInterface { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkProfileInternal)NetworkProfile).NetworkInterface; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkProfileInternal)NetworkProfile).NetworkInterface = value ?? null /* arrayOf */; } + public System.Collections.Generic.List NetworkProfileNetworkInterface { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkProfileInternal)NetworkProfile).NetworkInterface; } /// Backing field for property. private string _oSName; diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/MachineUpdate.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/MachineUpdate.cs index 44eb644a6d52..f6894ca274dd 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/MachineUpdate.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/MachineUpdate.cs @@ -103,58 +103,58 @@ public partial class MachineUpdate : public string LocationDataName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).LocationDataName; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).LocationDataName = value ?? null; } /// Internal Acessors for AgentUpgrade - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgrade Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdateInternal.AgentUpgrade { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgrade; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgrade = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgrade Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdateInternal.AgentUpgrade { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgrade; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgrade = value ?? null /* model class */; } /// Internal Acessors for AgentUpgradeLastAttemptDesiredVersion - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdateInternal.AgentUpgradeLastAttemptDesiredVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptDesiredVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptDesiredVersion = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdateInternal.AgentUpgradeLastAttemptDesiredVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptDesiredVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptDesiredVersion = value ?? null; } /// Internal Acessors for AgentUpgradeLastAttemptMessage - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdateInternal.AgentUpgradeLastAttemptMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptMessage = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdateInternal.AgentUpgradeLastAttemptMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptMessage = value ?? null; } /// Internal Acessors for AgentUpgradeLastAttemptStatus - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdateInternal.AgentUpgradeLastAttemptStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptStatus = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdateInternal.AgentUpgradeLastAttemptStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptStatus = value ?? null; } /// Internal Acessors for AgentUpgradeLastAttemptTimestamp - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdateInternal.AgentUpgradeLastAttemptTimestamp { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptTimestamp; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptTimestamp = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdateInternal.AgentUpgradeLastAttemptTimestamp { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptTimestamp; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).AgentUpgradeLastAttemptTimestamp = value ?? null; } /// Internal Acessors for CloudMetadata - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ICloudMetadata Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdateInternal.CloudMetadata { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).CloudMetadata; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).CloudMetadata = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ICloudMetadata Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdateInternal.CloudMetadata { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).CloudMetadata; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).CloudMetadata = value ?? null /* model class */; } /// Internal Acessors for CloudMetadataProvider - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdateInternal.CloudMetadataProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).CloudMetadataProvider; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).CloudMetadataProvider = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdateInternal.CloudMetadataProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).CloudMetadataProvider; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).CloudMetadataProvider = value ?? null; } /// Internal Acessors for Identity Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentity Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdateInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.Identity()); set { {_identity = value;} } } /// Internal Acessors for IdentityPrincipalId - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdateInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).PrincipalId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdateInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).PrincipalId = value ?? null; } /// Internal Acessors for IdentityTenantId - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdateInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).TenantId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdateInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).TenantId = value ?? null; } /// Internal Acessors for LinuxConfigurationPatchSetting - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IPatchSettings Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdateInternal.LinuxConfigurationPatchSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).LinuxConfigurationPatchSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).LinuxConfigurationPatchSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IPatchSettings Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdateInternal.LinuxConfigurationPatchSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).LinuxConfigurationPatchSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).LinuxConfigurationPatchSetting = value ?? null /* model class */; } /// Internal Acessors for LocationData - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILocationData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdateInternal.LocationData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).LocationData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).LocationData = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILocationData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdateInternal.LocationData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).LocationData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).LocationData = value ?? null /* model class */; } /// Internal Acessors for OSProfile - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdateInternal.OSProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).OSProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).OSProfile = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdateInternal.OSProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).OSProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).OSProfile = value ?? null /* model class */; } /// Internal Acessors for OSProfileComputerName - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdateInternal.OSProfileComputerName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).OSProfileComputerName; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).OSProfileComputerName = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdateInternal.OSProfileComputerName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).OSProfileComputerName; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).OSProfileComputerName = value ?? null; } /// Internal Acessors for OSProfileLinuxConfiguration - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileLinuxConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdateInternal.OSProfileLinuxConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).OSProfileLinuxConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).OSProfileLinuxConfiguration = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileLinuxConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdateInternal.OSProfileLinuxConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).OSProfileLinuxConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).OSProfileLinuxConfiguration = value ?? null /* model class */; } /// Internal Acessors for OSProfileWindowsConfiguration - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileWindowsConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdateInternal.OSProfileWindowsConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).OSProfileWindowsConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).OSProfileWindowsConfiguration = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileWindowsConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdateInternal.OSProfileWindowsConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).OSProfileWindowsConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).OSProfileWindowsConfiguration = value ?? null /* model class */; } /// Internal Acessors for Property Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdateProperties Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdateInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.MachineUpdateProperties()); set { {_property = value;} } } /// Internal Acessors for WindowConfigurationPatchSetting - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IPatchSettings Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdateInternal.WindowConfigurationPatchSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).WindowConfigurationPatchSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).WindowConfigurationPatchSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IPatchSettings Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdateInternal.WindowConfigurationPatchSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).WindowConfigurationPatchSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal)Property).WindowConfigurationPatchSetting = value ?? null /* model class */; } /// Specifies the host OS name of the hybrid machine. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/MachineUpdateProperties.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/MachineUpdateProperties.cs index 1ca4e47005be..fae8b70421b9 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/MachineUpdateProperties.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/MachineUpdateProperties.cs @@ -94,25 +94,25 @@ public partial class MachineUpdateProperties : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgrade Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal.AgentUpgrade { get => (this._agentUpgrade = this._agentUpgrade ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.AgentUpgrade()); set { {_agentUpgrade = value;} } } /// Internal Acessors for AgentUpgradeLastAttemptDesiredVersion - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal.AgentUpgradeLastAttemptDesiredVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptDesiredVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptDesiredVersion = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal.AgentUpgradeLastAttemptDesiredVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptDesiredVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptDesiredVersion = value ?? null; } /// Internal Acessors for AgentUpgradeLastAttemptMessage - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal.AgentUpgradeLastAttemptMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptMessage = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal.AgentUpgradeLastAttemptMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptMessage = value ?? null; } /// Internal Acessors for AgentUpgradeLastAttemptStatus - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal.AgentUpgradeLastAttemptStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptStatus = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal.AgentUpgradeLastAttemptStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptStatus = value ?? null; } /// Internal Acessors for AgentUpgradeLastAttemptTimestamp - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal.AgentUpgradeLastAttemptTimestamp { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptTimestamp; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptTimestamp = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal.AgentUpgradeLastAttemptTimestamp { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptTimestamp; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IAgentUpgradeInternal)AgentUpgrade).LastAttemptTimestamp = value ?? null; } /// Internal Acessors for CloudMetadata Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ICloudMetadata Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal.CloudMetadata { get => (this._cloudMetadata = this._cloudMetadata ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.CloudMetadata()); set { {_cloudMetadata = value;} } } /// Internal Acessors for CloudMetadataProvider - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal.CloudMetadataProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ICloudMetadataInternal)CloudMetadata).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ICloudMetadataInternal)CloudMetadata).Provider = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal.CloudMetadataProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ICloudMetadataInternal)CloudMetadata).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ICloudMetadataInternal)CloudMetadata).Provider = value ?? null; } /// Internal Acessors for LinuxConfigurationPatchSetting - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IPatchSettings Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal.LinuxConfigurationPatchSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).LinuxConfigurationPatchSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).LinuxConfigurationPatchSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IPatchSettings Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal.LinuxConfigurationPatchSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).LinuxConfigurationPatchSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).LinuxConfigurationPatchSetting = value ?? null /* model class */; } /// Internal Acessors for LocationData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILocationData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal.LocationData { get => (this._locationData = this._locationData ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.LocationData()); set { {_locationData = value;} } } @@ -121,16 +121,16 @@ public partial class MachineUpdateProperties : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal.OSProfile { get => (this._oSProfile = this._oSProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.OSProfile()); set { {_oSProfile = value;} } } /// Internal Acessors for OSProfileComputerName - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal.OSProfileComputerName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).ComputerName; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).ComputerName = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal.OSProfileComputerName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).ComputerName; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).ComputerName = value ?? null; } /// Internal Acessors for OSProfileLinuxConfiguration - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileLinuxConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal.OSProfileLinuxConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).LinuxConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).LinuxConfiguration = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileLinuxConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal.OSProfileLinuxConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).LinuxConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).LinuxConfiguration = value ?? null /* model class */; } /// Internal Acessors for OSProfileWindowsConfiguration - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileWindowsConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal.OSProfileWindowsConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).WindowsConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).WindowsConfiguration = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileWindowsConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal.OSProfileWindowsConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).WindowsConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).WindowsConfiguration = value ?? null /* model class */; } /// Internal Acessors for WindowConfigurationPatchSetting - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IPatchSettings Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal.WindowConfigurationPatchSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).WindowConfigurationPatchSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).WindowConfigurationPatchSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IPatchSettings Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineUpdatePropertiesInternal.WindowConfigurationPatchSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).WindowConfigurationPatchSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal)OSProfile).WindowConfigurationPatchSetting = value ?? null /* model class */; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfile _oSProfile; diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/MarketplaceGalleryImageProperties.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/MarketplaceGalleryImageProperties.cs index 95a70751fd76..0a0e123f512d 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/MarketplaceGalleryImageProperties.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/MarketplaceGalleryImageProperties.cs @@ -33,7 +33,7 @@ public partial class MarketplaceGalleryImageProperties : /// The downloaded sized of the image in MB [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public long? DownloadStatusDownloadSizeInMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).DownloadStatusDownloadSizeInMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).DownloadStatusDownloadSizeInMb = value ?? default(long); } + public long? DownloadStatusDownloadSizeInMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).DownloadStatusDownloadSizeInMb; } /// Backing field for property. private string _hyperVGeneration; @@ -61,35 +61,53 @@ public partial class MarketplaceGalleryImageProperties : [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] public string IdentifierSku { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageIdentifierInternal)Identifier).Sku; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageIdentifierInternal)Identifier).Sku = value ?? null; } + /// Internal Acessors for DownloadStatusDownloadSizeInMb + long? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal.DownloadStatusDownloadSizeInMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).DownloadStatusDownloadSizeInMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).DownloadStatusDownloadSizeInMb = value ?? default(long); } + /// Internal Acessors for Identifier Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageIdentifier Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal.Identifier { get => (this._identifier = this._identifier ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.GalleryImageIdentifier()); set { {_identifier = value;} } } /// Internal Acessors for OSDiskImageSizeInMb - long? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal.OSDiskImageSizeInMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal)Version).OSDiskImageSizeInMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal)Version).OSDiskImageSizeInMb = value; } + long? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal.OSDiskImageSizeInMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal)Version).OSDiskImageSizeInMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal)Version).OSDiskImageSizeInMb = value ?? default(long); } /// Internal Acessors for ProvisioningState string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } + /// Internal Acessors for ProvisioningStatus + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal.ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).ProvisioningStatusStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).ProvisioningStatusStatus = value ?? null; } + + /// Internal Acessors for ProvisioningStatusOperationId + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal.ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).ProvisioningStatusOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).ProvisioningStatusOperationId = value ?? null; } + /// Internal Acessors for Status Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal.Status { get => (this._status = this._status ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.MarketplaceGalleryImageStatus()); set { {_status = value;} } } /// Internal Acessors for StatusDownloadStatus - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusDownloadStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal.StatusDownloadStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).DownloadStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).DownloadStatus = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusDownloadStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal.StatusDownloadStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).DownloadStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).DownloadStatus = value ?? null /* model class */; } + + /// Internal Acessors for StatusErrorCode + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal.StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).ErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).ErrorCode = value ?? null; } + + /// Internal Acessors for StatusErrorMessage + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal.StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).ErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).ErrorMessage = value ?? null; } + + /// Internal Acessors for StatusProgressPercentage + long? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal.StatusProgressPercentage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).ProgressPercentage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).ProgressPercentage = value ?? default(long); } /// Internal Acessors for StatusProvisioningStatus - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusProvisioningStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal.StatusProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).ProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).ProvisioningStatus = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusProvisioningStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal.StatusProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).ProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).ProvisioningStatus = value ?? null /* model class */; } /// Internal Acessors for StorageProfile - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionStorageProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal.StorageProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal)Version).StorageProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal)Version).StorageProfile = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionStorageProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal.StorageProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal)Version).StorageProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal)Version).StorageProfile = value ?? null /* model class */; } /// Internal Acessors for StorageProfileOSDiskImage - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryOSDiskImage Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal.StorageProfileOSDiskImage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal)Version).StorageProfileOSDiskImage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal)Version).StorageProfileOSDiskImage = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryOSDiskImage Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal.StorageProfileOSDiskImage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal)Version).StorageProfileOSDiskImage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal)Version).StorageProfileOSDiskImage = value ?? null /* model class */; } /// Internal Acessors for Version Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersion Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal.Version { get => (this._version = this._version ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.GalleryImageVersion()); set { {_version = value;} } } /// Internal Acessors for VersionProperty - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionProperties Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal.VersionProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal)Version).Property; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal)Version).Property = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionProperties Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal.VersionProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal)Version).Property; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionInternal)Version).Property = value ?? null /* model class */; } /// This property indicates the size of the VHD to be created. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] @@ -113,11 +131,11 @@ public partial class MarketplaceGalleryImageProperties : /// The status of the operation performed on the gallery image [Succeeded, Failed, InProgress] /// [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).ProvisioningStatusStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).ProvisioningStatusStatus = value ?? null; } + public string ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).ProvisioningStatusStatus; } /// The ID of the operation performed on the gallery image [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).ProvisioningStatusOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).ProvisioningStatusOperationId = value ?? null; } + public string ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).ProvisioningStatusOperationId; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatus _status; @@ -128,15 +146,15 @@ public partial class MarketplaceGalleryImageProperties : /// MarketplaceGalleryImage provisioning error code [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).ErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).ErrorCode = value ?? null; } + public string StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).ErrorCode; } /// Descriptive error message [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).ErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).ErrorMessage = value ?? null; } + public string StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).ErrorMessage; } /// The progress of the operation in percentage [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public long? StatusProgressPercentage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).ProgressPercentage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).ProgressPercentage = value ?? default(long); } + public long? StatusProgressPercentage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusInternal)Status).ProgressPercentage; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersion _version; diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/MarketplaceGalleryImages.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/MarketplaceGalleryImages.cs index 49371cbbbd1c..15b229b0bd0f 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/MarketplaceGalleryImages.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/MarketplaceGalleryImages.cs @@ -32,7 +32,7 @@ public partial class MarketplaceGalleryImages : /// The downloaded sized of the image in MB [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public long? DownloadStatusDownloadSizeInMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).DownloadStatusDownloadSizeInMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).DownloadStatusDownloadSizeInMb = value ?? default(long); } + public long? DownloadStatusDownloadSizeInMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).DownloadStatusDownloadSizeInMb; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IExtendedLocation _extendedLocation; @@ -73,55 +73,91 @@ public partial class MarketplaceGalleryImages : /// The geo-location where the resource lives [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ITrackedResourceInternal)__trackedResource).Location = value ; } + public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; } + + /// Internal Acessors for DownloadStatusDownloadSizeInMb + long? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagesInternal.DownloadStatusDownloadSizeInMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).DownloadStatusDownloadSizeInMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).DownloadStatusDownloadSizeInMb = value ?? default(long); } /// Internal Acessors for ExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagesInternal.ExtendedLocation { get => (this._extendedLocation = this._extendedLocation ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ExtendedLocation()); set { {_extendedLocation = value;} } } /// Internal Acessors for Identifier - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageIdentifier Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagesInternal.Identifier { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).Identifier; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).Identifier = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageIdentifier Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagesInternal.Identifier { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).Identifier; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).Identifier = value ?? null /* model class */; } /// Internal Acessors for OSDiskImageSizeInMb - long? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagesInternal.OSDiskImageSizeInMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).OSDiskImageSizeInMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).OSDiskImageSizeInMb = value; } + long? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagesInternal.OSDiskImageSizeInMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).OSDiskImageSizeInMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).OSDiskImageSizeInMb = value ?? default(long); } /// Internal Acessors for Property Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageProperties Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagesInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.MarketplaceGalleryImageProperties()); set { {_property = value;} } } /// Internal Acessors for ProvisioningState - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).ProvisioningState = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).ProvisioningState = value ?? null; } + + /// Internal Acessors for ProvisioningStatus + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagesInternal.ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).ProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).ProvisioningStatus = value ?? null; } + + /// Internal Acessors for ProvisioningStatusOperationId + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagesInternal.ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).ProvisioningStatusOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).ProvisioningStatusOperationId = value ?? null; } /// Internal Acessors for Status - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagesInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).Status = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagesInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).Status = value ?? null /* model class */; } /// Internal Acessors for StatusDownloadStatus - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusDownloadStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagesInternal.StatusDownloadStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).StatusDownloadStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).StatusDownloadStatus = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusDownloadStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagesInternal.StatusDownloadStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).StatusDownloadStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).StatusDownloadStatus = value ?? null /* model class */; } + + /// Internal Acessors for StatusErrorCode + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagesInternal.StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).StatusErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).StatusErrorCode = value ?? null; } + + /// Internal Acessors for StatusErrorMessage + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagesInternal.StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).StatusErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).StatusErrorMessage = value ?? null; } + + /// Internal Acessors for StatusProgressPercentage + long? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagesInternal.StatusProgressPercentage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).StatusProgressPercentage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).StatusProgressPercentage = value ?? default(long); } /// Internal Acessors for StatusProvisioningStatus - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusProvisioningStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagesInternal.StatusProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).StatusProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).StatusProvisioningStatus = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImageStatusProvisioningStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagesInternal.StatusProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).StatusProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).StatusProvisioningStatus = value ?? null /* model class */; } /// Internal Acessors for StorageProfile - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionStorageProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagesInternal.StorageProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).StorageProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).StorageProfile = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionStorageProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagesInternal.StorageProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).StorageProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).StorageProfile = value ?? null /* model class */; } /// Internal Acessors for StorageProfileOSDiskImage - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryOSDiskImage Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagesInternal.StorageProfileOSDiskImage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).StorageProfileOSDiskImage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).StorageProfileOSDiskImage = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryOSDiskImage Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagesInternal.StorageProfileOSDiskImage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).StorageProfileOSDiskImage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).StorageProfileOSDiskImage = value ?? null /* model class */; } /// Internal Acessors for Version - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersion Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagesInternal.Version { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).Version = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersion Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagesInternal.Version { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).Version; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).Version = value ?? null /* model class */; } /// Internal Acessors for VersionProperty - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionProperties Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagesInternal.VersionProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).VersionProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).VersionProperty = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersionProperties Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagesInternal.VersionProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).VersionProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).VersionProperty = value ?? null /* model class */; } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Id = value ?? null; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Name = value ?? null; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; } + + /// Internal Acessors for SystemDataCreatedAt + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); } + + /// Internal Acessors for SystemDataCreatedBy + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; } + + /// Internal Acessors for SystemDataCreatedByType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; } + + /// Internal Acessors for SystemDataLastModifiedAt + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } + + /// Internal Acessors for SystemDataLastModifiedBy + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; } + + /// Internal Acessors for SystemDataLastModifiedByType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Type = value ?? null; } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] @@ -150,11 +186,11 @@ public partial class MarketplaceGalleryImages : /// The status of the operation performed on the gallery image [Succeeded, Failed, InProgress] /// [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).ProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).ProvisioningStatus = value ?? null; } + public string ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).ProvisioningStatus; } /// The ID of the operation performed on the gallery image [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).ProvisioningStatusOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).ProvisioningStatusOperationId = value ?? null; } + public string ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).ProvisioningStatusOperationId; } /// Gets the resource group name [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Owned)] @@ -162,45 +198,45 @@ public partial class MarketplaceGalleryImages : /// MarketplaceGalleryImage provisioning error code [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).StatusErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).StatusErrorCode = value ?? null; } + public string StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).StatusErrorCode; } /// Descriptive error message [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).StatusErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).StatusErrorMessage = value ?? null; } + public string StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).StatusErrorMessage; } /// The progress of the operation in percentage [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public long? StatusProgressPercentage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).StatusProgressPercentage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).StatusProgressPercentage = value ?? default(long); } + public long? StatusProgressPercentage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagePropertiesInternal)Property).StatusProgressPercentage; } /// /// Azure Resource Manager metadata containing createdBy and modifiedBy information. /// [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - internal Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData; } + internal Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; } /// The timestamp of resource creation (UTC). [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); } + public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; } /// The identity that created the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; } + public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; } /// The type of identity that created the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; } + public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; } /// The timestamp of resource last modification (UTC) [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } + public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; } /// The identity that last modified the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; } + public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; } /// The type of identity that last modified the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; } + public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; } /// Resource tags. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/NetworkInterfaceProperties.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/NetworkInterfaceProperties.cs index 3e45c4d21a82..f7dfecb54da9 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/NetworkInterfaceProperties.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/NetworkInterfaceProperties.cs @@ -44,11 +44,23 @@ public partial class NetworkInterfaceProperties : /// Internal Acessors for ProvisioningState string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } + /// Internal Acessors for ProvisioningStatus + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal.ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaceStatusInternal)Status).ProvisioningStatusStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaceStatusInternal)Status).ProvisioningStatusStatus = value ?? null; } + + /// Internal Acessors for ProvisioningStatusOperationId + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal.ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaceStatusInternal)Status).ProvisioningStatusOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaceStatusInternal)Status).ProvisioningStatusOperationId = value ?? null; } + /// Internal Acessors for Status Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaceStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal.Status { get => (this._status = this._status ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.NetworkInterfaceStatus()); set { {_status = value;} } } + /// Internal Acessors for StatusErrorCode + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal.StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaceStatusInternal)Status).ErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaceStatusInternal)Status).ErrorCode = value ?? null; } + + /// Internal Acessors for StatusErrorMessage + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal.StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaceStatusInternal)Status).ErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaceStatusInternal)Status).ErrorMessage = value ?? null; } + /// Internal Acessors for StatusProvisioningStatus - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaceStatusProvisioningStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal.StatusProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaceStatusInternal)Status).ProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaceStatusInternal)Status).ProvisioningStatus = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaceStatusProvisioningStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal.StatusProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaceStatusInternal)Status).ProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaceStatusInternal)Status).ProvisioningStatus = value ?? null /* model class */; } /// Backing field for property. private string _provisioningState; @@ -61,11 +73,11 @@ public partial class NetworkInterfaceProperties : /// The status of the operation performed on the network interface [Succeeded, Failed, InProgress] /// [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaceStatusInternal)Status).ProvisioningStatusStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaceStatusInternal)Status).ProvisioningStatusStatus = value ?? null; } + public string ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaceStatusInternal)Status).ProvisioningStatusStatus; } /// The ID of the operation performed on the network interface [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaceStatusInternal)Status).ProvisioningStatusOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaceStatusInternal)Status).ProvisioningStatusOperationId = value ?? null; } + public string ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaceStatusInternal)Status).ProvisioningStatusOperationId; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaceStatus _status; @@ -76,11 +88,11 @@ public partial class NetworkInterfaceProperties : /// NetworkInterface provisioning error code [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaceStatusInternal)Status).ErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaceStatusInternal)Status).ErrorCode = value ?? null; } + public string StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaceStatusInternal)Status).ErrorCode; } /// Descriptive error message [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaceStatusInternal)Status).ErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaceStatusInternal)Status).ErrorMessage = value ?? null; } + public string StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaceStatusInternal)Status).ErrorMessage; } /// Creates an new instance. public NetworkInterfaceProperties() diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/NetworkInterfaces.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/NetworkInterfaces.cs index ea3ff0adb962..216aa097d271 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/NetworkInterfaces.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/NetworkInterfaces.cs @@ -49,14 +49,14 @@ public partial class NetworkInterfaces : /// The geo-location where the resource lives [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ITrackedResourceInternal)__trackedResource).Location = value ; } + public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; } /// MacAddress - The MAC address of the network interface. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] public string MacAddress { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).MacAddress; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).MacAddress = value ?? null; } /// Internal Acessors for DnsSetting - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IInterfaceDnsSettings Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacesInternal.DnsSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).DnsSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).DnsSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IInterfaceDnsSettings Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacesInternal.DnsSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).DnsSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).DnsSetting = value ?? null /* model class */; } /// Internal Acessors for ExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacesInternal.ExtendedLocation { get => (this._extendedLocation = this._extendedLocation ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ExtendedLocation()); set { {_extendedLocation = value;} } } @@ -65,25 +65,55 @@ public partial class NetworkInterfaces : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaceProperties Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacesInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.NetworkInterfaceProperties()); set { {_property = value;} } } /// Internal Acessors for ProvisioningState - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).ProvisioningState = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).ProvisioningState = value ?? null; } + + /// Internal Acessors for ProvisioningStatus + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacesInternal.ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).ProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).ProvisioningStatus = value ?? null; } + + /// Internal Acessors for ProvisioningStatusOperationId + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacesInternal.ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).ProvisioningStatusOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).ProvisioningStatusOperationId = value ?? null; } /// Internal Acessors for Status - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaceStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacesInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).Status = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaceStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacesInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).Status = value ?? null /* model class */; } + + /// Internal Acessors for StatusErrorCode + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacesInternal.StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).StatusErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).StatusErrorCode = value ?? null; } + + /// Internal Acessors for StatusErrorMessage + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacesInternal.StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).StatusErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).StatusErrorMessage = value ?? null; } /// Internal Acessors for StatusProvisioningStatus - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaceStatusProvisioningStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacesInternal.StatusProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).StatusProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).StatusProvisioningStatus = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaceStatusProvisioningStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacesInternal.StatusProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).StatusProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).StatusProvisioningStatus = value ?? null /* model class */; } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Id = value ?? null; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Name = value ?? null; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; } + + /// Internal Acessors for SystemDataCreatedAt + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); } + + /// Internal Acessors for SystemDataCreatedBy + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; } + + /// Internal Acessors for SystemDataCreatedByType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; } + + /// Internal Acessors for SystemDataLastModifiedAt + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } + + /// Internal Acessors for SystemDataLastModifiedBy + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; } + + /// Internal Acessors for SystemDataLastModifiedByType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Type = value ?? null; } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] @@ -104,11 +134,11 @@ public partial class NetworkInterfaces : /// The status of the operation performed on the network interface [Succeeded, Failed, InProgress] /// [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).ProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).ProvisioningStatus = value ?? null; } + public string ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).ProvisioningStatus; } /// The ID of the operation performed on the network interface [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).ProvisioningStatusOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).ProvisioningStatusOperationId = value ?? null; } + public string ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).ProvisioningStatusOperationId; } /// Gets the resource group name [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Owned)] @@ -116,41 +146,41 @@ public partial class NetworkInterfaces : /// NetworkInterface provisioning error code [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).StatusErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).StatusErrorCode = value ?? null; } + public string StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).StatusErrorCode; } /// Descriptive error message [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).StatusErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).StatusErrorMessage = value ?? null; } + public string StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacePropertiesInternal)Property).StatusErrorMessage; } /// /// Azure Resource Manager metadata containing createdBy and modifiedBy information. /// [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - internal Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData; } + internal Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; } /// The timestamp of resource creation (UTC). [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); } + public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; } /// The identity that created the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; } + public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; } /// The type of identity that created the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; } + public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; } /// The timestamp of resource last modification (UTC) [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } + public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; } /// The identity that last modified the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; } + public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; } /// The type of identity that last modified the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; } + public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; } /// Resource tags. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/OSProfile.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/OSProfile.cs index f1d905a7cfe1..65c04f69ccd1 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/OSProfile.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/OSProfile.cs @@ -42,10 +42,10 @@ public partial class OSProfile : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileLinuxConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal.LinuxConfiguration { get => (this._linuxConfiguration = this._linuxConfiguration ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.OSProfileLinuxConfiguration()); set { {_linuxConfiguration = value;} } } /// Internal Acessors for LinuxConfigurationPatchSetting - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IPatchSettings Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal.LinuxConfigurationPatchSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).PatchSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).PatchSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IPatchSettings Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal.LinuxConfigurationPatchSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).PatchSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileLinuxConfigurationInternal)LinuxConfiguration).PatchSetting = value ?? null /* model class */; } /// Internal Acessors for WindowConfigurationPatchSetting - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IPatchSettings Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal.WindowConfigurationPatchSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).PatchSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).PatchSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IPatchSettings Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal.WindowConfigurationPatchSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).PatchSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileWindowsConfigurationInternal)WindowsConfiguration).PatchSetting = value ?? null /* model class */; } /// Internal Acessors for WindowsConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileWindowsConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileInternal.WindowsConfiguration { get => (this._windowsConfiguration = this._windowsConfiguration ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.OSProfileWindowsConfiguration()); set { {_windowsConfiguration = value;} } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/OperationValue.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/OperationValue.cs index 5aeaefa16447..9a477a71a35a 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/OperationValue.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/OperationValue.cs @@ -47,16 +47,16 @@ public partial class OperationValue : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOperationValueDisplay Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOperationValueInternal.Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.OperationValueDisplay()); set { {_display = value;} } } /// Internal Acessors for DisplayDescription - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOperationValueInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOperationValueDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOperationValueDisplayInternal)Display).Description = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOperationValueInternal.DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOperationValueDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOperationValueDisplayInternal)Display).Description = value ?? null; } /// Internal Acessors for DisplayOperation - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOperationValueInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOperationValueDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOperationValueDisplayInternal)Display).Operation = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOperationValueInternal.DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOperationValueDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOperationValueDisplayInternal)Display).Operation = value ?? null; } /// Internal Acessors for DisplayProvider - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOperationValueInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOperationValueDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOperationValueDisplayInternal)Display).Provider = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOperationValueInternal.DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOperationValueDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOperationValueDisplayInternal)Display).Provider = value ?? null; } /// Internal Acessors for DisplayResource - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOperationValueInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOperationValueDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOperationValueDisplayInternal)Display).Resource = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOperationValueInternal.DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOperationValueDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOperationValueDisplayInternal)Display).Resource = value ?? null; } /// Internal Acessors for IsDataAction bool? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOperationValueInternal.IsDataAction { get => this._isDataAction; set { {_isDataAction = value;} } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/ProxyResource.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/ProxyResource.cs index 452ec7549435..653a468396b6 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/ProxyResource.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/ProxyResource.cs @@ -27,16 +27,34 @@ public partial class ProxyResource : public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).Id; } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).Id = value ?? null; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).Name = value ?? null; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemData = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; } + + /// Internal Acessors for SystemDataCreatedAt + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); } + + /// Internal Acessors for SystemDataCreatedBy + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; } + + /// Internal Acessors for SystemDataCreatedByType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; } + + /// Internal Acessors for SystemDataLastModifiedAt + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } + + /// Internal Acessors for SystemDataLastModifiedBy + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; } + + /// Internal Acessors for SystemDataLastModifiedByType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).Type = value ?? null; } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] @@ -46,31 +64,31 @@ public partial class ProxyResource : /// Azure Resource Manager metadata containing createdBy and modifiedBy information. /// [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - internal Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemData; } + internal Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; } /// The timestamp of resource creation (UTC). [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); } + public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataCreatedAt; } /// The identity that created the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; } + public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataCreatedBy; } /// The type of identity that created the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; } + public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataCreatedByType; } /// The timestamp of resource last modification (UTC) [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } + public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; } /// The identity that last modified the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; } + public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; } /// The type of identity that last modified the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; } + public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; } /// /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/Resource.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/Resource.cs index ccb7bcb1b3ca..fb6d7576aec1 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/Resource.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/Resource.cs @@ -33,6 +33,24 @@ public partial class Resource : /// Internal Acessors for SystemData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.SystemData()); set { {_systemData = value;} } } + /// Internal Acessors for SystemDataCreatedAt + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); } + + /// Internal Acessors for SystemDataCreatedBy + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; } + + /// Internal Acessors for SystemDataCreatedByType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; } + + /// Internal Acessors for SystemDataLastModifiedAt + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); } + + /// Internal Acessors for SystemDataLastModifiedBy + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; } + + /// Internal Acessors for SystemDataLastModifiedByType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; } + /// Internal Acessors for Type string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Type { get => this._type; set { {_type = value;} } } @@ -54,27 +72,27 @@ public partial class Resource : /// The timestamp of resource creation (UTC). [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemDataInternal)SystemData).CreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemDataInternal)SystemData).CreatedAt = value ?? default(global::System.DateTime); } + public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemDataInternal)SystemData).CreatedAt; } /// The identity that created the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemDataInternal)SystemData).CreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemDataInternal)SystemData).CreatedBy = value ?? null; } + public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemDataInternal)SystemData).CreatedBy; } /// The type of identity that created the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemDataInternal)SystemData).CreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemDataInternal)SystemData).CreatedByType = value ?? null; } + public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemDataInternal)SystemData).CreatedByType; } /// The timestamp of resource last modification (UTC) [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemDataInternal)SystemData).LastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemDataInternal)SystemData).LastModifiedAt = value ?? default(global::System.DateTime); } + public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemDataInternal)SystemData).LastModifiedAt; } /// The identity that last modified the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemDataInternal)SystemData).LastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemDataInternal)SystemData).LastModifiedBy = value ?? null; } + public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemDataInternal)SystemData).LastModifiedBy; } /// The type of identity that last modified the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemDataInternal)SystemData).LastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemDataInternal)SystemData).LastModifiedByType = value ?? null; } + public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemDataInternal)SystemData).LastModifiedByType; } /// Backing field for property. private string _type; diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/StorageContainerProperties.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/StorageContainerProperties.cs index bd5d496069ce..5956d11ab8da 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/StorageContainerProperties.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/StorageContainerProperties.cs @@ -16,11 +16,29 @@ public partial class StorageContainerProperties : /// Internal Acessors for ProvisioningState string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } + /// Internal Acessors for ProvisioningStatus + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal.ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusInternal)Status).ProvisioningStatusStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusInternal)Status).ProvisioningStatusStatus = value ?? null; } + + /// Internal Acessors for ProvisioningStatusOperationId + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal.ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusInternal)Status).ProvisioningStatusOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusInternal)Status).ProvisioningStatusOperationId = value ?? null; } + /// Internal Acessors for Status Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal.Status { get => (this._status = this._status ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.StorageContainerStatus()); set { {_status = value;} } } + /// Internal Acessors for StatusAvailableSizeMb + long? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal.StatusAvailableSizeMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusInternal)Status).AvailableSizeMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusInternal)Status).AvailableSizeMb = value ?? default(long); } + + /// Internal Acessors for StatusContainerSizeMb + long? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal.StatusContainerSizeMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusInternal)Status).ContainerSizeMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusInternal)Status).ContainerSizeMb = value ?? default(long); } + + /// Internal Acessors for StatusErrorCode + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal.StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusInternal)Status).ErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusInternal)Status).ErrorCode = value ?? null; } + + /// Internal Acessors for StatusErrorMessage + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal.StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusInternal)Status).ErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusInternal)Status).ErrorMessage = value ?? null; } + /// Internal Acessors for StatusProvisioningStatus - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusProvisioningStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal.StatusProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusInternal)Status).ProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusInternal)Status).ProvisioningStatus = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusProvisioningStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal.StatusProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusInternal)Status).ProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusInternal)Status).ProvisioningStatus = value ?? null /* model class */; } /// Backing field for property. private string _path; @@ -40,11 +58,11 @@ public partial class StorageContainerProperties : /// The status of the operation performed on the storage container [Succeeded, Failed, InProgress] /// [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusInternal)Status).ProvisioningStatusStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusInternal)Status).ProvisioningStatusStatus = value ?? null; } + public string ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusInternal)Status).ProvisioningStatusStatus; } /// The ID of the operation performed on the storage container [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusInternal)Status).ProvisioningStatusOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusInternal)Status).ProvisioningStatusOperationId = value ?? null; } + public string ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusInternal)Status).ProvisioningStatusOperationId; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatus _status; @@ -55,19 +73,19 @@ public partial class StorageContainerProperties : /// Amount of space available on the disk in MB [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public long? StatusAvailableSizeMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusInternal)Status).AvailableSizeMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusInternal)Status).AvailableSizeMb = value ?? default(long); } + public long? StatusAvailableSizeMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusInternal)Status).AvailableSizeMb; } /// Total size of the disk in MB [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public long? StatusContainerSizeMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusInternal)Status).ContainerSizeMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusInternal)Status).ContainerSizeMb = value ?? default(long); } + public long? StatusContainerSizeMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusInternal)Status).ContainerSizeMb; } /// StorageContainer provisioning error code [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusInternal)Status).ErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusInternal)Status).ErrorCode = value ?? null; } + public string StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusInternal)Status).ErrorCode; } /// Descriptive error message [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusInternal)Status).ErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusInternal)Status).ErrorMessage = value ?? null; } + public string StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusInternal)Status).ErrorMessage; } /// Creates an new instance. public StorageContainerProperties() diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/StorageContainers.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/StorageContainers.cs index cee51f419760..2f626aecf26f 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/StorageContainers.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/StorageContainers.cs @@ -41,19 +41,37 @@ public partial class StorageContainers : /// The geo-location where the resource lives [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ITrackedResourceInternal)__trackedResource).Location = value ; } + public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Id = value ?? null; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Name = value ?? null; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; } + + /// Internal Acessors for SystemDataCreatedAt + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); } + + /// Internal Acessors for SystemDataCreatedBy + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; } + + /// Internal Acessors for SystemDataCreatedByType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; } + + /// Internal Acessors for SystemDataLastModifiedAt + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } + + /// Internal Acessors for SystemDataLastModifiedBy + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; } + + /// Internal Acessors for SystemDataLastModifiedByType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Type = value ?? null; } /// Internal Acessors for ExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainersInternal.ExtendedLocation { get => (this._extendedLocation = this._extendedLocation ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ExtendedLocation()); set { {_extendedLocation = value;} } } @@ -62,13 +80,31 @@ public partial class StorageContainers : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerProperties Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainersInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.StorageContainerProperties()); set { {_property = value;} } } /// Internal Acessors for ProvisioningState - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainersInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).ProvisioningState = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainersInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).ProvisioningState = value ?? null; } + + /// Internal Acessors for ProvisioningStatus + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainersInternal.ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).ProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).ProvisioningStatus = value ?? null; } + + /// Internal Acessors for ProvisioningStatusOperationId + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainersInternal.ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).ProvisioningStatusOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).ProvisioningStatusOperationId = value ?? null; } /// Internal Acessors for Status - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainersInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).Status = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainersInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).Status = value ?? null /* model class */; } + + /// Internal Acessors for StatusAvailableSizeMb + long? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainersInternal.StatusAvailableSizeMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).StatusAvailableSizeMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).StatusAvailableSizeMb = value ?? default(long); } + + /// Internal Acessors for StatusContainerSizeMb + long? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainersInternal.StatusContainerSizeMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).StatusContainerSizeMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).StatusContainerSizeMb = value ?? default(long); } + + /// Internal Acessors for StatusErrorCode + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainersInternal.StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).StatusErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).StatusErrorCode = value ?? null; } + + /// Internal Acessors for StatusErrorMessage + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainersInternal.StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).StatusErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).StatusErrorMessage = value ?? null; } /// Internal Acessors for StatusProvisioningStatus - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusProvisioningStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainersInternal.StatusProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).StatusProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).StatusProvisioningStatus = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerStatusProvisioningStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainersInternal.StatusProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).StatusProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).StatusProvisioningStatus = value ?? null /* model class */; } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] @@ -93,11 +129,11 @@ public partial class StorageContainers : /// The status of the operation performed on the storage container [Succeeded, Failed, InProgress] /// [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).ProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).ProvisioningStatus = value ?? null; } + public string ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).ProvisioningStatus; } /// The ID of the operation performed on the storage container [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).ProvisioningStatusOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).ProvisioningStatusOperationId = value ?? null; } + public string ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).ProvisioningStatusOperationId; } /// Gets the resource group name [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Owned)] @@ -105,49 +141,49 @@ public partial class StorageContainers : /// Amount of space available on the disk in MB [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public long? StatusAvailableSizeMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).StatusAvailableSizeMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).StatusAvailableSizeMb = value ?? default(long); } + public long? StatusAvailableSizeMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).StatusAvailableSizeMb; } /// Total size of the disk in MB [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public long? StatusContainerSizeMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).StatusContainerSizeMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).StatusContainerSizeMb = value ?? default(long); } + public long? StatusContainerSizeMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).StatusContainerSizeMb; } /// StorageContainer provisioning error code [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).StatusErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).StatusErrorCode = value ?? null; } + public string StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).StatusErrorCode; } /// Descriptive error message [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).StatusErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).StatusErrorMessage = value ?? null; } + public string StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainerPropertiesInternal)Property).StatusErrorMessage; } /// /// Azure Resource Manager metadata containing createdBy and modifiedBy information. /// [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - internal Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData; } + internal Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; } /// The timestamp of resource creation (UTC). [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); } + public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; } /// The identity that created the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; } + public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; } /// The type of identity that created the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; } + public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; } /// The timestamp of resource last modification (UTC) [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } + public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; } /// The identity that last modified the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; } + public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; } /// The type of identity that last modified the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; } + public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; } /// Resource tags. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/Subnet.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/Subnet.cs index cdd9af6722d7..39b07001ff66 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/Subnet.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/Subnet.cs @@ -38,19 +38,19 @@ public partial class Subnet : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetPropertiesFormat Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.SubnetPropertiesFormat()); set { {_property = value;} } } /// Internal Acessors for RouteTable - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IRouteTable Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetInternal.RouteTable { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetPropertiesFormatInternal)Property).RouteTable; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetPropertiesFormatInternal)Property).RouteTable = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IRouteTable Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetInternal.RouteTable { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetPropertiesFormatInternal)Property).RouteTable; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetPropertiesFormatInternal)Property).RouteTable = value ?? null /* model class */; } /// Internal Acessors for RouteTableEtag - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetInternal.RouteTableEtag { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetPropertiesFormatInternal)Property).RouteTableEtag; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetPropertiesFormatInternal)Property).RouteTableEtag = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetInternal.RouteTableEtag { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetPropertiesFormatInternal)Property).RouteTableEtag; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetPropertiesFormatInternal)Property).RouteTableEtag = value ?? null; } /// Internal Acessors for RouteTableName - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetInternal.RouteTableName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetPropertiesFormatInternal)Property).RouteTableName; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetPropertiesFormatInternal)Property).RouteTableName = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetInternal.RouteTableName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetPropertiesFormatInternal)Property).RouteTableName; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetPropertiesFormatInternal)Property).RouteTableName = value ?? null; } /// Internal Acessors for RouteTableProperty - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IRouteTablePropertiesFormat Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetInternal.RouteTableProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetPropertiesFormatInternal)Property).RouteTableProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetPropertiesFormatInternal)Property).RouteTableProperty = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IRouteTablePropertiesFormat Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetInternal.RouteTableProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetPropertiesFormatInternal)Property).RouteTableProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetPropertiesFormatInternal)Property).RouteTableProperty = value ?? null /* model class */; } /// Internal Acessors for RouteTableType - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetInternal.RouteTableType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetPropertiesFormatInternal)Property).RouteTableType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetPropertiesFormatInternal)Property).RouteTableType = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetInternal.RouteTableType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetPropertiesFormatInternal)Property).RouteTableType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetPropertiesFormatInternal)Property).RouteTableType = value ?? null; } /// Backing field for property. private string _name; diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/SubnetPropertiesFormat.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/SubnetPropertiesFormat.cs index 27e55177bf8b..067a9cf68b2c 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/SubnetPropertiesFormat.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/SubnetPropertiesFormat.cs @@ -54,16 +54,16 @@ public partial class SubnetPropertiesFormat : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IRouteTable Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetPropertiesFormatInternal.RouteTable { get => (this._routeTable = this._routeTable ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.RouteTable()); set { {_routeTable = value;} } } /// Internal Acessors for RouteTableEtag - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetPropertiesFormatInternal.RouteTableEtag { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IRouteTableInternal)RouteTable).Etag; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IRouteTableInternal)RouteTable).Etag = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetPropertiesFormatInternal.RouteTableEtag { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IRouteTableInternal)RouteTable).Etag; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IRouteTableInternal)RouteTable).Etag = value ?? null; } /// Internal Acessors for RouteTableName - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetPropertiesFormatInternal.RouteTableName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IRouteTableInternal)RouteTable).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IRouteTableInternal)RouteTable).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetPropertiesFormatInternal.RouteTableName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IRouteTableInternal)RouteTable).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IRouteTableInternal)RouteTable).Name = value ?? null; } /// Internal Acessors for RouteTableProperty - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IRouteTablePropertiesFormat Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetPropertiesFormatInternal.RouteTableProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IRouteTableInternal)RouteTable).Property; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IRouteTableInternal)RouteTable).Property = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IRouteTablePropertiesFormat Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetPropertiesFormatInternal.RouteTableProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IRouteTableInternal)RouteTable).Property; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IRouteTableInternal)RouteTable).Property = value ?? null /* model class */; } /// Internal Acessors for RouteTableType - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetPropertiesFormatInternal.RouteTableType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IRouteTableInternal)RouteTable).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IRouteTableInternal)RouteTable).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnetPropertiesFormatInternal.RouteTableType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IRouteTableInternal)RouteTable).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IRouteTableInternal)RouteTable).Type = value ?? null; } /// Collection of routes contained within a route table. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/TrackedResource.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/TrackedResource.cs index 75a96865b679..9b6026ea3a82 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/TrackedResource.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/TrackedResource.cs @@ -34,16 +34,34 @@ public partial class TrackedResource : public string Location { get => this._location; set => this._location = value; } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).Id = value ?? null; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).Name = value ?? null; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemData = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; } + + /// Internal Acessors for SystemDataCreatedAt + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); } + + /// Internal Acessors for SystemDataCreatedBy + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; } + + /// Internal Acessors for SystemDataCreatedByType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; } + + /// Internal Acessors for SystemDataLastModifiedAt + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } + + /// Internal Acessors for SystemDataLastModifiedBy + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; } + + /// Internal Acessors for SystemDataLastModifiedByType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).Type = value ?? null; } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] @@ -53,31 +71,31 @@ public partial class TrackedResource : /// Azure Resource Manager metadata containing createdBy and modifiedBy information. /// [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - internal Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemData; } + internal Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemData = value ?? null /* model class */; } /// The timestamp of resource creation (UTC). [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataCreatedAt = value ?? default(global::System.DateTime); } + public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataCreatedAt; } /// The identity that created the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataCreatedBy = value ?? null; } + public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataCreatedBy; } /// The type of identity that created the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataCreatedByType = value ?? null; } + public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataCreatedByType; } /// The timestamp of resource last modification (UTC) [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } + public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataLastModifiedAt; } /// The identity that last modified the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataLastModifiedBy = value ?? null; } + public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataLastModifiedBy; } /// The type of identity that last modified the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? null; } + public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__resource).SystemDataLastModifiedByType; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ITrackedResourceTags _tag; @@ -117,7 +135,7 @@ public partial interface ITrackedResource : { /// The geo-location where the resource lives [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Read = true, Create = true, diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualHardDiskProperties.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualHardDiskProperties.cs index 641e99074481..1fb0a1e3175d 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualHardDiskProperties.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualHardDiskProperties.cs @@ -63,11 +63,23 @@ public partial class VirtualHardDiskProperties : /// Internal Acessors for ProvisioningState string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } + /// Internal Acessors for ProvisioningStatus + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal.ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskStatusInternal)Status).ProvisioningStatusStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskStatusInternal)Status).ProvisioningStatusStatus = value ?? null; } + + /// Internal Acessors for ProvisioningStatusOperationId + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal.ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskStatusInternal)Status).ProvisioningStatusOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskStatusInternal)Status).ProvisioningStatusOperationId = value ?? null; } + /// Internal Acessors for Status Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal.Status { get => (this._status = this._status ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.VirtualHardDiskStatus()); set { {_status = value;} } } + /// Internal Acessors for StatusErrorCode + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal.StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskStatusInternal)Status).ErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskStatusInternal)Status).ErrorCode = value ?? null; } + + /// Internal Acessors for StatusErrorMessage + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal.StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskStatusInternal)Status).ErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskStatusInternal)Status).ErrorMessage = value ?? null; } + /// Internal Acessors for StatusProvisioningStatus - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskStatusProvisioningStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal.StatusProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskStatusInternal)Status).ProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskStatusInternal)Status).ProvisioningStatus = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskStatusProvisioningStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal.StatusProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskStatusInternal)Status).ProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskStatusInternal)Status).ProvisioningStatus = value ?? null /* model class */; } /// Backing field for property. private int? _physicalSectorByte; @@ -86,11 +98,11 @@ public partial class VirtualHardDiskProperties : /// The status of the operation performed on the virtual hard disk [Succeeded, Failed, InProgress] /// [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskStatusInternal)Status).ProvisioningStatusStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskStatusInternal)Status).ProvisioningStatusStatus = value ?? null; } + public string ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskStatusInternal)Status).ProvisioningStatusStatus; } /// The ID of the operation performed on the virtual hard disk [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskStatusInternal)Status).ProvisioningStatusOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskStatusInternal)Status).ProvisioningStatusOperationId = value ?? null; } + public string ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskStatusInternal)Status).ProvisioningStatusOperationId; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskStatus _status; @@ -101,11 +113,11 @@ public partial class VirtualHardDiskProperties : /// VirtualHardDisk provisioning error code [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskStatusInternal)Status).ErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskStatusInternal)Status).ErrorCode = value ?? null; } + public string StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskStatusInternal)Status).ErrorCode; } /// Descriptive error message [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskStatusInternal)Status).ErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskStatusInternal)Status).ErrorMessage = value ?? null; } + public string StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskStatusInternal)Status).ErrorMessage; } /// Creates an new instance. public VirtualHardDiskProperties() diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualHardDisks.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualHardDisks.cs index 2f4c5a3d1a05..4e33cdcef60e 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualHardDisks.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualHardDisks.cs @@ -64,22 +64,40 @@ public partial class VirtualHardDisks : /// The geo-location where the resource lives [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ITrackedResourceInternal)__trackedResource).Location = value ; } + public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ITrackedResourceInternal)__trackedResource).Location = value ?? null; } [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] public int? LogicalSectorByte { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal)Property).LogicalSectorByte; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal)Property).LogicalSectorByte = value ?? default(int); } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Id = value ?? null; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Name = value ?? null; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; } + + /// Internal Acessors for SystemDataCreatedAt + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); } + + /// Internal Acessors for SystemDataCreatedBy + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; } + + /// Internal Acessors for SystemDataCreatedByType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; } + + /// Internal Acessors for SystemDataLastModifiedAt + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } + + /// Internal Acessors for SystemDataLastModifiedBy + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; } + + /// Internal Acessors for SystemDataLastModifiedByType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).Type = value ?? null; } /// Internal Acessors for ExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDisksInternal.ExtendedLocation { get => (this._extendedLocation = this._extendedLocation ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ExtendedLocation()); set { {_extendedLocation = value;} } } @@ -88,13 +106,25 @@ public partial class VirtualHardDisks : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskProperties Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDisksInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.VirtualHardDiskProperties()); set { {_property = value;} } } /// Internal Acessors for ProvisioningState - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDisksInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal)Property).ProvisioningState = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDisksInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal)Property).ProvisioningState = value ?? null; } + + /// Internal Acessors for ProvisioningStatus + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDisksInternal.ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal)Property).ProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal)Property).ProvisioningStatus = value ?? null; } + + /// Internal Acessors for ProvisioningStatusOperationId + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDisksInternal.ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal)Property).ProvisioningStatusOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal)Property).ProvisioningStatusOperationId = value ?? null; } /// Internal Acessors for Status - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDisksInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal)Property).Status = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDisksInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal)Property).Status = value ?? null /* model class */; } + + /// Internal Acessors for StatusErrorCode + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDisksInternal.StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal)Property).StatusErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal)Property).StatusErrorCode = value ?? null; } + + /// Internal Acessors for StatusErrorMessage + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDisksInternal.StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal)Property).StatusErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal)Property).StatusErrorMessage = value ?? null; } /// Internal Acessors for StatusProvisioningStatus - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskStatusProvisioningStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDisksInternal.StatusProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal)Property).StatusProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal)Property).StatusProvisioningStatus = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskStatusProvisioningStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDisksInternal.StatusProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal)Property).StatusProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal)Property).StatusProvisioningStatus = value ?? null /* model class */; } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] @@ -118,11 +148,11 @@ public partial class VirtualHardDisks : /// The status of the operation performed on the virtual hard disk [Succeeded, Failed, InProgress] /// [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal)Property).ProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal)Property).ProvisioningStatus = value ?? null; } + public string ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal)Property).ProvisioningStatus; } /// The ID of the operation performed on the virtual hard disk [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal)Property).ProvisioningStatusOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal)Property).ProvisioningStatusOperationId = value ?? null; } + public string ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal)Property).ProvisioningStatusOperationId; } /// Gets the resource group name [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Owned)] @@ -130,41 +160,41 @@ public partial class VirtualHardDisks : /// VirtualHardDisk provisioning error code [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal)Property).StatusErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal)Property).StatusErrorCode = value ?? null; } + public string StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal)Property).StatusErrorCode; } /// Descriptive error message [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal)Property).StatusErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal)Property).StatusErrorMessage = value ?? null; } + public string StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDiskPropertiesInternal)Property).StatusErrorMessage; } /// /// Azure Resource Manager metadata containing createdBy and modifiedBy information. /// [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - internal Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData; } + internal Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemData = value ?? null /* model class */; } /// The timestamp of resource creation (UTC). [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); } + public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; } /// The identity that created the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; } + public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; } /// The type of identity that created the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; } + public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; } /// The timestamp of resource last modification (UTC) [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } + public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; } /// The identity that last modified the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; } + public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; } /// The type of identity that last modified the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; } + public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; } /// Resource tags. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstance.PowerShell.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstance.PowerShell.cs index 74cced98f88f..42d2ce6c90cd 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstance.PowerShell.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstance.PowerShell.cs @@ -288,7 +288,7 @@ internal VirtualMachineInstance(global::System.Collections.IDictionary content) } if (content.Contains("OSProfileAdminPassword")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal)this).OSProfileAdminPassword = (string) content.GetValueForProperty("OSProfileAdminPassword",((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal)this).OSProfileAdminPassword, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal)this).OSProfileAdminPassword = (System.Security.SecureString) content.GetValueForProperty("OSProfileAdminPassword",((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal)this).OSProfileAdminPassword, (object ss) => (System.Security.SecureString)ss); } if (content.Contains("OSProfileAdminUsername")) { @@ -637,7 +637,7 @@ internal VirtualMachineInstance(global::System.Management.Automation.PSObject co } if (content.Contains("OSProfileAdminPassword")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal)this).OSProfileAdminPassword = (string) content.GetValueForProperty("OSProfileAdminPassword",((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal)this).OSProfileAdminPassword, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal)this).OSProfileAdminPassword = (System.Security.SecureString) content.GetValueForProperty("OSProfileAdminPassword",((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal)this).OSProfileAdminPassword, (object ss) => (System.Security.SecureString)ss); } if (content.Contains("OSProfileAdminUsername")) { diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstance.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstance.cs index 7f0700d7e7ca..093f4e9a2994 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstance.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstance.cs @@ -143,109 +143,148 @@ public partial class VirtualMachineInstance : public System.Collections.Generic.List LinuxConfigurationSshPublicKey { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).LinuxConfigurationSshPublicKey; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).LinuxConfigurationSshPublicKey = value ?? null /* arrayOf */; } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Id = value ?? null; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Name = value ?? null; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemData = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; } + + /// Internal Acessors for SystemDataCreatedAt + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); } + + /// Internal Acessors for SystemDataCreatedBy + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; } + + /// Internal Acessors for SystemDataCreatedByType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; } + + /// Internal Acessors for SystemDataLastModifiedAt + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } + + /// Internal Acessors for SystemDataLastModifiedBy + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; } + + /// Internal Acessors for SystemDataLastModifiedByType + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).Type = value ?? null; } /// Internal Acessors for ExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IExtendedLocation Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.ExtendedLocation { get => (this._extendedLocation = this._extendedLocation ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ExtendedLocation()); set { {_extendedLocation = value;} } } /// Internal Acessors for GuestAgentInstallStatusAgentVersion - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.GuestAgentInstallStatusAgentVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).GuestAgentInstallStatusAgentVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).GuestAgentInstallStatusAgentVersion = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.GuestAgentInstallStatusAgentVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).GuestAgentInstallStatusAgentVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).GuestAgentInstallStatusAgentVersion = value ?? null; } /// Internal Acessors for GuestAgentInstallStatusErrorDetail - System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.GuestAgentInstallStatusErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).GuestAgentInstallStatusErrorDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).GuestAgentInstallStatusErrorDetail = value; } + System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.GuestAgentInstallStatusErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).GuestAgentInstallStatusErrorDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).GuestAgentInstallStatusErrorDetail = value ?? null /* arrayOf */; } /// Internal Acessors for GuestAgentInstallStatusLastStatusChange - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.GuestAgentInstallStatusLastStatusChange { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).GuestAgentInstallStatusLastStatusChange; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).GuestAgentInstallStatusLastStatusChange = value; } + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.GuestAgentInstallStatusLastStatusChange { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).GuestAgentInstallStatusLastStatusChange; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).GuestAgentInstallStatusLastStatusChange = value ?? default(global::System.DateTime); } /// Internal Acessors for GuestAgentInstallStatusVMUuid - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.GuestAgentInstallStatusVMUuid { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).GuestAgentInstallStatusVMUuid; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).GuestAgentInstallStatusVMUuid = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.GuestAgentInstallStatusVMUuid { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).GuestAgentInstallStatusVMUuid; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).GuestAgentInstallStatusVMUuid = value ?? null; } /// Internal Acessors for HardwareProfile - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesHardwareProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.HardwareProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).HardwareProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).HardwareProfile = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesHardwareProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.HardwareProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).HardwareProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).HardwareProfile = value ?? null /* model class */; } /// Internal Acessors for HardwareProfileDynamicMemoryConfig - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfig Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.HardwareProfileDynamicMemoryConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).HardwareProfileDynamicMemoryConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).HardwareProfileDynamicMemoryConfig = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfig Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.HardwareProfileDynamicMemoryConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).HardwareProfileDynamicMemoryConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).HardwareProfileDynamicMemoryConfig = value ?? null /* model class */; } /// Internal Acessors for HttpProxyConfig - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHttpProxyConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.HttpProxyConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).HttpProxyConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).HttpProxyConfig = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHttpProxyConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.HttpProxyConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).HttpProxyConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).HttpProxyConfig = value ?? null /* model class */; } /// Internal Acessors for Identity Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentity Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.Identity()); set { {_identity = value;} } } /// Internal Acessors for IdentityPrincipalId - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).PrincipalId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).PrincipalId = value ?? null; } /// Internal Acessors for IdentityTenantId - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).TenantId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).TenantId = value ?? null; } /// Internal Acessors for InstanceView - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceView Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.InstanceView { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).InstanceView; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).InstanceView = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceView Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.InstanceView { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).InstanceView; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).InstanceView = value ?? null /* model class */; } /// Internal Acessors for InstanceViewVMAgent - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineConfigAgentInstanceView Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.InstanceViewVMAgent { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).InstanceViewVMAgent; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).InstanceViewVMAgent = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineConfigAgentInstanceView Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.InstanceViewVMAgent { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).InstanceViewVMAgent; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).InstanceViewVMAgent = value ?? null /* model class */; } /// Internal Acessors for LinuxConfigurationSsh - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISshConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.LinuxConfigurationSsh { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).LinuxConfigurationSsh; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).LinuxConfigurationSsh = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISshConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.LinuxConfigurationSsh { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).LinuxConfigurationSsh; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).LinuxConfigurationSsh = value ?? null /* model class */; } /// Internal Acessors for NetworkProfile - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesNetworkProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.NetworkProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).NetworkProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).NetworkProfile = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesNetworkProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.NetworkProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).NetworkProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).NetworkProfile = value ?? null /* model class */; } /// Internal Acessors for OSProfile - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.OSProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).OSProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).OSProfile = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.OSProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).OSProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).OSProfile = value ?? null /* model class */; } /// Internal Acessors for OSProfileLinuxConfiguration - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileLinuxConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.OSProfileLinuxConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).OSProfileLinuxConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).OSProfileLinuxConfiguration = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileLinuxConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.OSProfileLinuxConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).OSProfileLinuxConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).OSProfileLinuxConfiguration = value ?? null /* model class */; } /// Internal Acessors for OSProfileWindowsConfiguration - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileWindowsConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.OSProfileWindowsConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).OSProfileWindowsConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).OSProfileWindowsConfiguration = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileWindowsConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.OSProfileWindowsConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).OSProfileWindowsConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).OSProfileWindowsConfiguration = value ?? null /* model class */; } /// Internal Acessors for PropertiesGuestAgentInstallStatus - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentInstallStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.PropertiesGuestAgentInstallStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).GuestAgentInstallStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).GuestAgentInstallStatus = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentInstallStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.PropertiesGuestAgentInstallStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).GuestAgentInstallStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).GuestAgentInstallStatus = value ?? null /* model class */; } /// Internal Acessors for PropertiesGuestAgentInstallStatusStatus - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.PropertiesGuestAgentInstallStatusStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).GuestAgentInstallStatusStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).GuestAgentInstallStatusStatus = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.PropertiesGuestAgentInstallStatusStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).GuestAgentInstallStatusStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).GuestAgentInstallStatusStatus = value ?? null; } /// Internal Acessors for Property Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceProperties Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.VirtualMachineInstanceProperties()); set { {_property = value;} } } /// Internal Acessors for ProvisioningState - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).ProvisioningState = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).ProvisioningState = value ?? null; } + + /// Internal Acessors for ProvisioningStatus + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).ProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).ProvisioningStatus = value ?? null; } + + /// Internal Acessors for ProvisioningStatusOperationId + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).ProvisioningStatusOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).ProvisioningStatusOperationId = value ?? null; } /// Internal Acessors for SecurityProfile - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesSecurityProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.SecurityProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).SecurityProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).SecurityProfile = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesSecurityProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.SecurityProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).SecurityProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).SecurityProfile = value ?? null /* model class */; } /// Internal Acessors for SecurityProfileUefiSetting - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesSecurityProfileUefiSettings Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.SecurityProfileUefiSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).SecurityProfileUefiSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).SecurityProfileUefiSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesSecurityProfileUefiSettings Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.SecurityProfileUefiSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).SecurityProfileUefiSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).SecurityProfileUefiSetting = value ?? null /* model class */; } /// Internal Acessors for Status - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).Status = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).Status = value ?? null /* model class */; } + + /// Internal Acessors for StatusErrorCode + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).StatusErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).StatusErrorCode = value ?? null; } + + /// Internal Acessors for StatusErrorMessage + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).StatusErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).StatusErrorMessage = value ?? null; } + + /// Internal Acessors for StatusPowerState + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.StatusPowerState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).StatusPowerState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).StatusPowerState = value ?? null; } /// Internal Acessors for StatusProvisioningStatus - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatusProvisioningStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.StatusProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).StatusProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).StatusProvisioningStatus = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatusProvisioningStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.StatusProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).StatusProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).StatusProvisioningStatus = value ?? null /* model class */; } /// Internal Acessors for StorageProfile - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesStorageProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.StorageProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).StorageProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).StorageProfile = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesStorageProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.StorageProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).StorageProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).StorageProfile = value ?? null /* model class */; } /// Internal Acessors for StorageProfileImageReference - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesStorageProfileImageReference Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.StorageProfileImageReference { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).StorageProfileImageReference; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).StorageProfileImageReference = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesStorageProfileImageReference Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.StorageProfileImageReference { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).StorageProfileImageReference; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).StorageProfileImageReference = value ?? null /* model class */; } /// Internal Acessors for StorageProfileOSDisk - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesStorageProfileOSDisk Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.StorageProfileOSDisk { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).StorageProfileOSDisk; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).StorageProfileOSDisk = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesStorageProfileOSDisk Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.StorageProfileOSDisk { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).StorageProfileOSDisk; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).StorageProfileOSDisk = value ?? null /* model class */; } + + /// Internal Acessors for VMAgentStatuses + System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.VMAgentStatuses { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).VMAgentStatuses; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).VMAgentStatuses = value ?? null /* arrayOf */; } + + /// Internal Acessors for VMAgentVmconfigAgentVersion + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.VMAgentVmconfigAgentVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).VMAgentVmconfigAgentVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).VMAgentVmconfigAgentVersion = value ?? null; } /// Internal Acessors for VMId - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.VMId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).VMId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).VMId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.VMId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).VMId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).VMId = value ?? null; } /// Internal Acessors for WindowConfigurationSsh - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISshConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.WindowConfigurationSsh { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).WindowConfigurationSsh; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).WindowConfigurationSsh = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISshConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceInternal.WindowConfigurationSsh { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).WindowConfigurationSsh; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).WindowConfigurationSsh = value ?? null /* model class */; } /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] @@ -270,7 +309,7 @@ public partial class VirtualMachineInstance : /// AdminPassword - admin password [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string OSProfileAdminPassword { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).OSProfileAdminPassword; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).OSProfileAdminPassword = value ?? null; } + public System.Security.SecureString OSProfileAdminPassword { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).OSProfileAdminPassword; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).OSProfileAdminPassword = value ?? null; } /// AdminUsername - admin username [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] @@ -299,11 +338,11 @@ public partial class VirtualMachineInstance : /// The status of the operation performed on the virtual machine instance [Succeeded, Failed, InProgress] /// [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).ProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).ProvisioningStatus = value ?? null; } + public string ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).ProvisioningStatus; } /// The ID of the operation performed on the virtual machine instance [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).ProvisioningStatusOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).ProvisioningStatusOperationId = value ?? null; } + public string ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).ProvisioningStatusOperationId; } /// Gets the resource group name [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Owned)] @@ -325,15 +364,15 @@ public partial class VirtualMachineInstance : /// VirtualMachine provisioning error code [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).StatusErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).StatusErrorCode = value ?? null; } + public string StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).StatusErrorCode; } /// Descriptive error message [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).StatusErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).StatusErrorMessage = value ?? null; } + public string StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).StatusErrorMessage; } /// The power state of the virtual machine instance [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string StatusPowerState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).StatusPowerState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).StatusPowerState = value ?? null; } + public string StatusPowerState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).StatusPowerState; } /// adds data disks to the virtual machine instance [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] @@ -347,31 +386,31 @@ public partial class VirtualMachineInstance : /// Azure Resource Manager metadata containing createdBy and modifiedBy information. /// [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - internal Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemData; } + internal Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemData = value ?? null /* model class */; } /// The timestamp of resource creation (UTC). [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); } + public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; } /// The identity that created the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; } + public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; } /// The type of identity that created the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; } + public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; } /// The timestamp of resource last modification (UTC) [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } + public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; } /// The identity that last modified the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; } + public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; } /// The type of identity that last modified the resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; } + public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; } /// /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" @@ -387,11 +426,11 @@ public partial class VirtualMachineInstance : /// The resource status information. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public System.Collections.Generic.List VMAgentStatuses { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).VMAgentStatuses; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).VMAgentStatuses = value ?? null /* arrayOf */; } + public System.Collections.Generic.List VMAgentStatuses { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).VMAgentStatuses; } /// The VM Config Agent full version. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string VMAgentVmconfigAgentVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).VMAgentVmconfigAgentVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).VMAgentVmconfigAgentVersion = value ?? null; } + public string VMAgentVmconfigAgentVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)Property).VMAgentVmconfigAgentVersion; } /// Unique identifier for the vm resource. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] @@ -770,8 +809,8 @@ public partial interface IVirtualMachineInstance : Update = false, Description = @"AdminPassword - admin password", SerializedName = @"adminPassword", - PossibleTypes = new [] { typeof(string) })] - string OSProfileAdminPassword { get; set; } + PossibleTypes = new [] { typeof(System.Security.SecureString) })] + System.Security.SecureString OSProfileAdminPassword { get; set; } /// AdminUsername - admin username [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Info( Required = false, @@ -1148,7 +1187,7 @@ internal partial interface IVirtualMachineInstanceInternal : /// Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfile OSProfile { get; set; } /// AdminPassword - admin password - string OSProfileAdminPassword { get; set; } + System.Security.SecureString OSProfileAdminPassword { get; set; } /// AdminUsername - admin username string OSProfileAdminUsername { get; set; } /// ComputerName - name of the compute diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstanceProperties.PowerShell.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstanceProperties.PowerShell.cs index ec3cb57473a7..e7bd2d02a821 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstanceProperties.PowerShell.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstanceProperties.PowerShell.cs @@ -216,7 +216,7 @@ internal VirtualMachineInstanceProperties(global::System.Collections.IDictionary } if (content.Contains("OSProfileAdminPassword")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)this).OSProfileAdminPassword = (string) content.GetValueForProperty("OSProfileAdminPassword",((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)this).OSProfileAdminPassword, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)this).OSProfileAdminPassword = (System.Security.SecureString) content.GetValueForProperty("OSProfileAdminPassword",((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)this).OSProfileAdminPassword, (object ss) => (System.Security.SecureString)ss); } if (content.Contains("OSProfileAdminUsername")) { @@ -493,7 +493,7 @@ internal VirtualMachineInstanceProperties(global::System.Management.Automation.P } if (content.Contains("OSProfileAdminPassword")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)this).OSProfileAdminPassword = (string) content.GetValueForProperty("OSProfileAdminPassword",((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)this).OSProfileAdminPassword, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)this).OSProfileAdminPassword = (System.Security.SecureString) content.GetValueForProperty("OSProfileAdminPassword",((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal)this).OSProfileAdminPassword, (object ss) => (System.Security.SecureString)ss); } if (content.Contains("OSProfileAdminUsername")) { diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstanceProperties.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstanceProperties.cs index 6862266ecb24..979570056500 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstanceProperties.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstanceProperties.cs @@ -135,25 +135,25 @@ public partial class VirtualMachineInstanceProperties : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentInstallStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.GuestAgentInstallStatus { get => (this._guestAgentInstallStatus = this._guestAgentInstallStatus ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.GuestAgentInstallStatus()); set { {_guestAgentInstallStatus = value;} } } /// Internal Acessors for GuestAgentInstallStatusAgentVersion - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.GuestAgentInstallStatusAgentVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentInstallStatusInternal)GuestAgentInstallStatus).AgentVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentInstallStatusInternal)GuestAgentInstallStatus).AgentVersion = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.GuestAgentInstallStatusAgentVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentInstallStatusInternal)GuestAgentInstallStatus).AgentVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentInstallStatusInternal)GuestAgentInstallStatus).AgentVersion = value ?? null; } /// Internal Acessors for GuestAgentInstallStatusErrorDetail - System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.GuestAgentInstallStatusErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentInstallStatusInternal)GuestAgentInstallStatus).ErrorDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentInstallStatusInternal)GuestAgentInstallStatus).ErrorDetail = value; } + System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.GuestAgentInstallStatusErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentInstallStatusInternal)GuestAgentInstallStatus).ErrorDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentInstallStatusInternal)GuestAgentInstallStatus).ErrorDetail = value ?? null /* arrayOf */; } /// Internal Acessors for GuestAgentInstallStatusLastStatusChange - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.GuestAgentInstallStatusLastStatusChange { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentInstallStatusInternal)GuestAgentInstallStatus).LastStatusChange; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentInstallStatusInternal)GuestAgentInstallStatus).LastStatusChange = value; } + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.GuestAgentInstallStatusLastStatusChange { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentInstallStatusInternal)GuestAgentInstallStatus).LastStatusChange; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentInstallStatusInternal)GuestAgentInstallStatus).LastStatusChange = value ?? default(global::System.DateTime); } /// Internal Acessors for GuestAgentInstallStatusStatus - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.GuestAgentInstallStatusStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentInstallStatusInternal)GuestAgentInstallStatus).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentInstallStatusInternal)GuestAgentInstallStatus).Status = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.GuestAgentInstallStatusStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentInstallStatusInternal)GuestAgentInstallStatus).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentInstallStatusInternal)GuestAgentInstallStatus).Status = value ?? null; } /// Internal Acessors for GuestAgentInstallStatusVMUuid - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.GuestAgentInstallStatusVMUuid { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentInstallStatusInternal)GuestAgentInstallStatus).VMUuid; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentInstallStatusInternal)GuestAgentInstallStatus).VMUuid = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.GuestAgentInstallStatusVMUuid { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentInstallStatusInternal)GuestAgentInstallStatus).VMUuid; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgentInstallStatusInternal)GuestAgentInstallStatus).VMUuid = value ?? null; } /// Internal Acessors for HardwareProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesHardwareProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.HardwareProfile { get => (this._hardwareProfile = this._hardwareProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.VirtualMachineInstancePropertiesHardwareProfile()); set { {_hardwareProfile = value;} } } /// Internal Acessors for HardwareProfileDynamicMemoryConfig - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfig Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.HardwareProfileDynamicMemoryConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesHardwareProfileInternal)HardwareProfile).DynamicMemoryConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesHardwareProfileInternal)HardwareProfile).DynamicMemoryConfig = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfig Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.HardwareProfileDynamicMemoryConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesHardwareProfileInternal)HardwareProfile).DynamicMemoryConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesHardwareProfileInternal)HardwareProfile).DynamicMemoryConfig = value ?? null /* model class */; } /// Internal Acessors for HttpProxyConfig Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHttpProxyConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.HttpProxyConfig { get => (this._httpProxyConfig = this._httpProxyConfig ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.HttpProxyConfiguration()); set { {_httpProxyConfig = value;} } } @@ -162,10 +162,10 @@ public partial class VirtualMachineInstanceProperties : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceView Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.InstanceView { get => (this._instanceView = this._instanceView ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.VirtualMachineInstanceView()); set { {_instanceView = value;} } } /// Internal Acessors for InstanceViewVMAgent - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineConfigAgentInstanceView Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.InstanceViewVMAgent { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceViewInternal)InstanceView).VMAgent; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceViewInternal)InstanceView).VMAgent = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineConfigAgentInstanceView Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.InstanceViewVMAgent { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceViewInternal)InstanceView).VMAgent; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceViewInternal)InstanceView).VMAgent = value ?? null /* model class */; } /// Internal Acessors for LinuxConfigurationSsh - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISshConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.LinuxConfigurationSsh { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileInternal)OSProfile).LinuxConfigurationSsh; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileInternal)OSProfile).LinuxConfigurationSsh = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISshConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.LinuxConfigurationSsh { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileInternal)OSProfile).LinuxConfigurationSsh; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileInternal)OSProfile).LinuxConfigurationSsh = value ?? null /* model class */; } /// Internal Acessors for NetworkProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesNetworkProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.NetworkProfile { get => (this._networkProfile = this._networkProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.VirtualMachineInstancePropertiesNetworkProfile()); set { {_networkProfile = value;} } } @@ -174,40 +174,61 @@ public partial class VirtualMachineInstanceProperties : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.OSProfile { get => (this._oSProfile = this._oSProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.VirtualMachineInstancePropertiesOSProfile()); set { {_oSProfile = value;} } } /// Internal Acessors for OSProfileLinuxConfiguration - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileLinuxConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.OSProfileLinuxConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileInternal)OSProfile).LinuxConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileInternal)OSProfile).LinuxConfiguration = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileLinuxConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.OSProfileLinuxConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileInternal)OSProfile).LinuxConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileInternal)OSProfile).LinuxConfiguration = value ?? null /* model class */; } /// Internal Acessors for OSProfileWindowsConfiguration - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileWindowsConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.OSProfileWindowsConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileInternal)OSProfile).WindowsConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileInternal)OSProfile).WindowsConfiguration = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileWindowsConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.OSProfileWindowsConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileInternal)OSProfile).WindowsConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileInternal)OSProfile).WindowsConfiguration = value ?? null /* model class */; } /// Internal Acessors for ProvisioningState string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } + /// Internal Acessors for ProvisioningStatus + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatusInternal)Status).ProvisioningStatusStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatusInternal)Status).ProvisioningStatusStatus = value ?? null; } + + /// Internal Acessors for ProvisioningStatusOperationId + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatusInternal)Status).ProvisioningStatusOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatusInternal)Status).ProvisioningStatusOperationId = value ?? null; } + /// Internal Acessors for SecurityProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesSecurityProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.SecurityProfile { get => (this._securityProfile = this._securityProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.VirtualMachineInstancePropertiesSecurityProfile()); set { {_securityProfile = value;} } } /// Internal Acessors for SecurityProfileUefiSetting - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesSecurityProfileUefiSettings Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.SecurityProfileUefiSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesSecurityProfileInternal)SecurityProfile).UefiSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesSecurityProfileInternal)SecurityProfile).UefiSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesSecurityProfileUefiSettings Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.SecurityProfileUefiSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesSecurityProfileInternal)SecurityProfile).UefiSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesSecurityProfileInternal)SecurityProfile).UefiSetting = value ?? null /* model class */; } /// Internal Acessors for Status Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.Status { get => (this._status = this._status ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.VirtualMachineInstanceStatus()); set { {_status = value;} } } + /// Internal Acessors for StatusErrorCode + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatusInternal)Status).ErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatusInternal)Status).ErrorCode = value ?? null; } + + /// Internal Acessors for StatusErrorMessage + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatusInternal)Status).ErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatusInternal)Status).ErrorMessage = value ?? null; } + + /// Internal Acessors for StatusPowerState + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.StatusPowerState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatusInternal)Status).PowerState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatusInternal)Status).PowerState = value ?? null; } + /// Internal Acessors for StatusProvisioningStatus - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatusProvisioningStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.StatusProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatusInternal)Status).ProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatusInternal)Status).ProvisioningStatus = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatusProvisioningStatus Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.StatusProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatusInternal)Status).ProvisioningStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatusInternal)Status).ProvisioningStatus = value ?? null /* model class */; } /// Internal Acessors for StorageProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesStorageProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.StorageProfile { get => (this._storageProfile = this._storageProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.VirtualMachineInstancePropertiesStorageProfile()); set { {_storageProfile = value;} } } /// Internal Acessors for StorageProfileImageReference - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesStorageProfileImageReference Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.StorageProfileImageReference { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesStorageProfileInternal)StorageProfile).ImageReference; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesStorageProfileInternal)StorageProfile).ImageReference = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesStorageProfileImageReference Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.StorageProfileImageReference { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesStorageProfileInternal)StorageProfile).ImageReference; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesStorageProfileInternal)StorageProfile).ImageReference = value ?? null /* model class */; } /// Internal Acessors for StorageProfileOSDisk - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesStorageProfileOSDisk Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.StorageProfileOSDisk { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesStorageProfileInternal)StorageProfile).OSDisk; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesStorageProfileInternal)StorageProfile).OSDisk = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesStorageProfileOSDisk Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.StorageProfileOSDisk { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesStorageProfileInternal)StorageProfile).OSDisk; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesStorageProfileInternal)StorageProfile).OSDisk = value ?? null /* model class */; } + + /// Internal Acessors for VMAgentStatuses + System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.VMAgentStatuses { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceViewInternal)InstanceView).VMAgentStatuses; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceViewInternal)InstanceView).VMAgentStatuses = value ?? null /* arrayOf */; } + + /// Internal Acessors for VMAgentVmconfigAgentVersion + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.VMAgentVmconfigAgentVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceViewInternal)InstanceView).VMAgentVmconfigAgentVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceViewInternal)InstanceView).VMAgentVmconfigAgentVersion = value ?? null; } /// Internal Acessors for VMId string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.VMId { get => this._vMId; set { {_vMId = value;} } } /// Internal Acessors for WindowConfigurationSsh - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISshConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.WindowConfigurationSsh { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileInternal)OSProfile).WindowConfigurationSsh; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileInternal)OSProfile).WindowConfigurationSsh = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISshConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesInternal.WindowConfigurationSsh { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileInternal)OSProfile).WindowConfigurationSsh; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileInternal)OSProfile).WindowConfigurationSsh = value ?? null /* model class */; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesNetworkProfile _networkProfile; @@ -246,7 +267,7 @@ public partial class VirtualMachineInstanceProperties : /// AdminPassword - admin password [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string OSProfileAdminPassword { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileInternal)OSProfile).AdminPassword; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileInternal)OSProfile).AdminPassword = value ?? null; } + public System.Security.SecureString OSProfileAdminPassword { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileInternal)OSProfile).AdminPassword; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileInternal)OSProfile).AdminPassword = value ?? null; } /// AdminUsername - admin username [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] @@ -267,11 +288,11 @@ public partial class VirtualMachineInstanceProperties : /// The status of the operation performed on the virtual machine instance [Succeeded, Failed, InProgress] /// [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatusInternal)Status).ProvisioningStatusStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatusInternal)Status).ProvisioningStatusStatus = value ?? null; } + public string ProvisioningStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatusInternal)Status).ProvisioningStatusStatus; } /// The ID of the operation performed on the virtual machine instance [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatusInternal)Status).ProvisioningStatusOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatusInternal)Status).ProvisioningStatusOperationId = value ?? null; } + public string ProvisioningStatusOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatusInternal)Status).ProvisioningStatusOperationId; } /// Backing field for property. private string _resourceUid; @@ -308,15 +329,15 @@ public partial class VirtualMachineInstanceProperties : /// VirtualMachine provisioning error code [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatusInternal)Status).ErrorCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatusInternal)Status).ErrorCode = value ?? null; } + public string StatusErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatusInternal)Status).ErrorCode; } /// Descriptive error message [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatusInternal)Status).ErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatusInternal)Status).ErrorMessage = value ?? null; } + public string StatusErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatusInternal)Status).ErrorMessage; } /// The power state of the virtual machine instance [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string StatusPowerState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatusInternal)Status).PowerState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatusInternal)Status).PowerState = value ?? null; } + public string StatusPowerState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatusInternal)Status).PowerState; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesStorageProfile _storageProfile; @@ -343,11 +364,11 @@ public partial class VirtualMachineInstanceProperties : /// The resource status information. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public System.Collections.Generic.List VMAgentStatuses { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceViewInternal)InstanceView).VMAgentStatuses; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceViewInternal)InstanceView).VMAgentStatuses = value ?? null /* arrayOf */; } + public System.Collections.Generic.List VMAgentStatuses { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceViewInternal)InstanceView).VMAgentStatuses; } /// The VM Config Agent full version. [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Inlined)] - public string VMAgentVmconfigAgentVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceViewInternal)InstanceView).VMAgentVmconfigAgentVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceViewInternal)InstanceView).VMAgentVmconfigAgentVersion = value ?? null; } + public string VMAgentVmconfigAgentVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceViewInternal)InstanceView).VMAgentVmconfigAgentVersion; } /// Backing field for property. private string _vMId; @@ -671,8 +692,8 @@ public partial interface IVirtualMachineInstanceProperties : Update = false, Description = @"AdminPassword - admin password", SerializedName = @"adminPassword", - PossibleTypes = new [] { typeof(string) })] - string OSProfileAdminPassword { get; set; } + PossibleTypes = new [] { typeof(System.Security.SecureString) })] + System.Security.SecureString OSProfileAdminPassword { get; set; } /// AdminUsername - admin username [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Info( Required = false, @@ -1026,7 +1047,7 @@ internal partial interface IVirtualMachineInstancePropertiesInternal /// Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfile OSProfile { get; set; } /// AdminPassword - admin password - string OSProfileAdminPassword { get; set; } + System.Security.SecureString OSProfileAdminPassword { get; set; } /// AdminUsername - admin username string OSProfileAdminUsername { get; set; } /// ComputerName - name of the compute diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstancePropertiesOSProfile.PowerShell.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstancePropertiesOSProfile.PowerShell.cs index a3aea9819f58..e7c2e9705d05 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstancePropertiesOSProfile.PowerShell.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstancePropertiesOSProfile.PowerShell.cs @@ -143,7 +143,7 @@ internal VirtualMachineInstancePropertiesOSProfile(global::System.Collections.ID } if (content.Contains("AdminPassword")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileInternal)this).AdminPassword = (string) content.GetValueForProperty("AdminPassword",((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileInternal)this).AdminPassword, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileInternal)this).AdminPassword = (System.Security.SecureString) content.GetValueForProperty("AdminPassword",((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileInternal)this).AdminPassword, (object ss) => (System.Security.SecureString)ss); } if (content.Contains("AdminUsername")) { @@ -224,7 +224,7 @@ internal VirtualMachineInstancePropertiesOSProfile(global::System.Management.Aut } if (content.Contains("AdminPassword")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileInternal)this).AdminPassword = (string) content.GetValueForProperty("AdminPassword",((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileInternal)this).AdminPassword, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileInternal)this).AdminPassword = (System.Security.SecureString) content.GetValueForProperty("AdminPassword",((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileInternal)this).AdminPassword, (object ss) => (System.Security.SecureString)ss); } if (content.Contains("AdminUsername")) { diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstancePropertiesOSProfile.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstancePropertiesOSProfile.cs index ba66b8fa6f0d..c499fb8f6985 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstancePropertiesOSProfile.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstancePropertiesOSProfile.cs @@ -16,11 +16,11 @@ public partial class VirtualMachineInstancePropertiesOSProfile : { /// Backing field for property. - private string _adminPassword; + private System.Security.SecureString _adminPassword; /// AdminPassword - admin password [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.PropertyOrigin.Owned)] - public string AdminPassword { get => this._adminPassword; set => this._adminPassword = value; } + public System.Security.SecureString AdminPassword { get => this._adminPassword; set => this._adminPassword = value; } /// Backing field for property. private string _adminUsername; @@ -72,10 +72,10 @@ public partial class VirtualMachineInstancePropertiesOSProfile : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileLinuxConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileInternal.LinuxConfiguration { get => (this._linuxConfiguration = this._linuxConfiguration ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.VirtualMachineInstancePropertiesOSProfileLinuxConfiguration()); set { {_linuxConfiguration = value;} } } /// Internal Acessors for LinuxConfigurationSsh - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISshConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileInternal.LinuxConfigurationSsh { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileLinuxConfigurationInternal)LinuxConfiguration).Ssh; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileLinuxConfigurationInternal)LinuxConfiguration).Ssh = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISshConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileInternal.LinuxConfigurationSsh { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileLinuxConfigurationInternal)LinuxConfiguration).Ssh; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileLinuxConfigurationInternal)LinuxConfiguration).Ssh = value ?? null /* model class */; } /// Internal Acessors for WindowConfigurationSsh - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISshConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileInternal.WindowConfigurationSsh { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileWindowsConfigurationInternal)WindowsConfiguration).Ssh; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileWindowsConfigurationInternal)WindowsConfiguration).Ssh = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISshConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileInternal.WindowConfigurationSsh { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileWindowsConfigurationInternal)WindowsConfiguration).Ssh; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileWindowsConfigurationInternal)WindowsConfiguration).Ssh = value ?? null /* model class */; } /// Internal Acessors for WindowsConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileWindowsConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstancePropertiesOSProfileInternal.WindowsConfiguration { get => (this._windowsConfiguration = this._windowsConfiguration ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.VirtualMachineInstancePropertiesOSProfileWindowsConfiguration()); set { {_windowsConfiguration = value;} } } @@ -133,8 +133,8 @@ public partial interface IVirtualMachineInstancePropertiesOSProfile : Update = false, Description = @"AdminPassword - admin password", SerializedName = @"adminPassword", - PossibleTypes = new [] { typeof(string) })] - string AdminPassword { get; set; } + PossibleTypes = new [] { typeof(System.Security.SecureString) })] + System.Security.SecureString AdminPassword { get; set; } /// AdminUsername - admin username [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Info( Required = false, @@ -275,7 +275,7 @@ internal partial interface IVirtualMachineInstancePropertiesOSProfileInternal { /// AdminPassword - admin password - string AdminPassword { get; set; } + System.Security.SecureString AdminPassword { get; set; } /// AdminUsername - admin username string AdminUsername { get; set; } /// ComputerName - name of the compute diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstancePropertiesOSProfile.json.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstancePropertiesOSProfile.json.cs index 28bcb687cdb7..45e3bc6b52be 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstancePropertiesOSProfile.json.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstancePropertiesOSProfile.json.cs @@ -92,7 +92,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Json.JsonNode ToJso AddIf( null != this._windowsConfiguration ? (Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Json.JsonNode) this._windowsConfiguration.ToJson(null,serializationMode) : null, "windowsConfiguration" ,container.Add ); if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.SerializationMode.IncludeCreate)) { - AddIf( null != (((object)this._adminPassword)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Json.JsonString(this._adminPassword.ToString()) : null, "adminPassword" ,container.Add ); + AddIf( null != (((object)this._adminPassword)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Json.JsonString(System.Runtime.InteropServices.Marshal.PtrToStringBSTR(System.Runtime.InteropServices.Marshal.SecureStringToBSTR(this._adminPassword))) : null, "adminPassword" ,container.Add ); } AddIf( null != (((object)this._adminUsername)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Json.JsonString(this._adminUsername.ToString()) : null, "adminUsername" ,container.Add ); AddIf( null != (((object)this._computerName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Json.JsonString(this._computerName.ToString()) : null, "computerName" ,container.Add ); diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstanceUpdateProperties.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstanceUpdateProperties.cs index f503e8e39165..29808fb6ad62 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstanceUpdateProperties.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstanceUpdateProperties.cs @@ -56,10 +56,10 @@ public partial class VirtualMachineInstanceUpdateProperties : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileUpdate Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdatePropertiesInternal.OSProfile { get => (this._oSProfile = this._oSProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.OSProfileUpdate()); set { {_oSProfile = value;} } } /// Internal Acessors for OSProfileLinuxConfiguration - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileUpdateLinuxConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdatePropertiesInternal.OSProfileLinuxConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileUpdateInternal)OSProfile).LinuxConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileUpdateInternal)OSProfile).LinuxConfiguration = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileUpdateLinuxConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdatePropertiesInternal.OSProfileLinuxConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileUpdateInternal)OSProfile).LinuxConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileUpdateInternal)OSProfile).LinuxConfiguration = value ?? null /* model class */; } /// Internal Acessors for OSProfileWindowsConfiguration - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileUpdateWindowsConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdatePropertiesInternal.OSProfileWindowsConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileUpdateInternal)OSProfile).WindowsConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileUpdateInternal)OSProfile).WindowsConfiguration = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileUpdateWindowsConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdatePropertiesInternal.OSProfileWindowsConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileUpdateInternal)OSProfile).WindowsConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileUpdateInternal)OSProfile).WindowsConfiguration = value ?? null /* model class */; } /// Internal Acessors for StorageProfile Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageProfileUpdate Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdatePropertiesInternal.StorageProfile { get => (this._storageProfile = this._storageProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.StorageProfileUpdate()); set { {_storageProfile = value;} } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstanceUpdateRequest.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstanceUpdateRequest.cs index d4fdb3d8c0d8..17ab16b4a7b5 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstanceUpdateRequest.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/Models/VirtualMachineInstanceUpdateRequest.cs @@ -57,34 +57,34 @@ public partial class VirtualMachineInstanceUpdateRequest : public bool? LinuxConfigurationProvisionVMConfigAgent { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdatePropertiesInternal)Property).LinuxConfigurationProvisionVMConfigAgent; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdatePropertiesInternal)Property).LinuxConfigurationProvisionVMConfigAgent = value ?? default(bool); } /// Internal Acessors for HardwareProfile - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHardwareProfileUpdate Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdateRequestInternal.HardwareProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdatePropertiesInternal)Property).HardwareProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdatePropertiesInternal)Property).HardwareProfile = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IHardwareProfileUpdate Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdateRequestInternal.HardwareProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdatePropertiesInternal)Property).HardwareProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdatePropertiesInternal)Property).HardwareProfile = value ?? null /* model class */; } /// Internal Acessors for Identity Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentity Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdateRequestInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.Identity()); set { {_identity = value;} } } /// Internal Acessors for IdentityPrincipalId - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdateRequestInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).PrincipalId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdateRequestInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).PrincipalId = value ?? null; } /// Internal Acessors for IdentityTenantId - string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdateRequestInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).TenantId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdateRequestInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IIdentityInternal)Identity).TenantId = value ?? null; } /// Internal Acessors for NetworkProfile - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkProfileUpdate Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdateRequestInternal.NetworkProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdatePropertiesInternal)Property).NetworkProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdatePropertiesInternal)Property).NetworkProfile = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkProfileUpdate Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdateRequestInternal.NetworkProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdatePropertiesInternal)Property).NetworkProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdatePropertiesInternal)Property).NetworkProfile = value ?? null /* model class */; } /// Internal Acessors for OSProfile - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileUpdate Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdateRequestInternal.OSProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdatePropertiesInternal)Property).OSProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdatePropertiesInternal)Property).OSProfile = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileUpdate Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdateRequestInternal.OSProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdatePropertiesInternal)Property).OSProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdatePropertiesInternal)Property).OSProfile = value ?? null /* model class */; } /// Internal Acessors for OSProfileLinuxConfiguration - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileUpdateLinuxConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdateRequestInternal.OSProfileLinuxConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdatePropertiesInternal)Property).OSProfileLinuxConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdatePropertiesInternal)Property).OSProfileLinuxConfiguration = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileUpdateLinuxConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdateRequestInternal.OSProfileLinuxConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdatePropertiesInternal)Property).OSProfileLinuxConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdatePropertiesInternal)Property).OSProfileLinuxConfiguration = value ?? null /* model class */; } /// Internal Acessors for OSProfileWindowsConfiguration - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileUpdateWindowsConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdateRequestInternal.OSProfileWindowsConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdatePropertiesInternal)Property).OSProfileWindowsConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdatePropertiesInternal)Property).OSProfileWindowsConfiguration = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IOSProfileUpdateWindowsConfiguration Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdateRequestInternal.OSProfileWindowsConfiguration { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdatePropertiesInternal)Property).OSProfileWindowsConfiguration; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdatePropertiesInternal)Property).OSProfileWindowsConfiguration = value ?? null /* model class */; } /// Internal Acessors for Property Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdateProperties Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdateRequestInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.VirtualMachineInstanceUpdateProperties()); set { {_property = value;} } } /// Internal Acessors for StorageProfile - Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageProfileUpdate Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdateRequestInternal.StorageProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdatePropertiesInternal)Property).StorageProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdatePropertiesInternal)Property).StorageProfile = value; } + Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageProfileUpdate Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdateRequestInternal.StorageProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdatePropertiesInternal)Property).StorageProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdatePropertiesInternal)Property).StorageProfile = value ?? null /* model class */; } /// /// NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/StackHcivm.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/StackHcivm.cs index fd373daa35e8..bb4243a9cf1f 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/StackHcivm.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/api/StackHcivm.cs @@ -1309,7 +1309,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a gallery image. Please note some properties can be set only during gallery image creation. + /// The operation to update a gallery image. Please note some properties can be set only during gallery image creation. /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. @@ -1360,7 +1360,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a gallery image. Please note some properties can be set only during gallery image creation. + /// The operation to update a gallery image. Please note some properties can be set only during gallery image creation. /// /// /// The gallery images resource definition. @@ -1421,7 +1421,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a gallery image. Please note some properties can be set only during gallery image creation. + /// The operation to update a gallery image. Please note some properties can be set only during gallery image creation. /// /// /// The gallery images resource definition. @@ -1480,7 +1480,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a gallery image. Please note some properties can be set only during gallery image creation. + /// The operation to update a gallery image. Please note some properties can be set only during gallery image creation. /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. @@ -1530,7 +1530,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a gallery image. Please note some properties can be set only during gallery image creation. + /// The operation to update a gallery image. Please note some properties can be set only during gallery image creation. /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. @@ -1578,7 +1578,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a gallery image. Please note some properties can be set only during gallery image creation. + /// The operation to update a gallery image. Please note some properties can be set only during gallery image creation. /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. @@ -1643,13 +1643,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); @@ -1797,13 +1797,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); @@ -2068,13 +2068,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var _finalUri = _response.GetFirstHeader(@"Azure-AsyncOperation"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); @@ -3505,13 +3505,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); @@ -3659,13 +3659,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); @@ -3814,7 +3814,7 @@ public partial class StackHcivm } } - /// Update GuestAgent. + /// update GuestAgent. /// The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource /// to be extended. /// Request payload. @@ -3859,7 +3859,7 @@ public partial class StackHcivm } } - /// Update GuestAgent. + /// update GuestAgent. /// /// Request payload. /// a delegate that is called when the remote service returns 200 (OK). @@ -3913,7 +3913,7 @@ public partial class StackHcivm } } - /// Update GuestAgent. + /// update GuestAgent. /// /// Request payload. /// an instance that will receive events. @@ -3965,7 +3965,7 @@ public partial class StackHcivm } } - /// Update GuestAgent. + /// update GuestAgent. /// The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource /// to be extended. /// Json string supplied to the GuestAgentCreate operation @@ -4009,7 +4009,7 @@ public partial class StackHcivm } } - /// Update GuestAgent. + /// update GuestAgent. /// The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource /// to be extended. /// Json string supplied to the GuestAgentCreate operation @@ -4051,7 +4051,7 @@ public partial class StackHcivm } } - /// Update GuestAgent. + /// update GuestAgent. /// The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource /// to be extended. /// Request payload. @@ -4109,13 +4109,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); @@ -4263,13 +4263,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); @@ -4516,13 +4516,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: default var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); @@ -6541,8 +6541,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a logical network. Please note some properties can be set only during logical network - /// creation. + /// The operation to update a logical network. Please note some properties can be set only during logical network creation. /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. @@ -6593,8 +6592,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a logical network. Please note some properties can be set only during logical network - /// creation. + /// The operation to update a logical network. Please note some properties can be set only during logical network creation. /// /// /// The logical network resource definition. @@ -6655,8 +6653,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a logical network. Please note some properties can be set only during logical network - /// creation. + /// The operation to update a logical network. Please note some properties can be set only during logical network creation. /// /// /// The logical network resource definition. @@ -6715,8 +6712,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a logical network. Please note some properties can be set only during logical network - /// creation. + /// The operation to update a logical network. Please note some properties can be set only during logical network creation. /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. @@ -6766,8 +6762,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a logical network. Please note some properties can be set only during logical network - /// creation. + /// The operation to update a logical network. Please note some properties can be set only during logical network creation. /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. @@ -6815,8 +6810,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a logical network. Please note some properties can be set only during logical network - /// creation. + /// The operation to update a logical network. Please note some properties can be set only during logical network creation. /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. @@ -6881,13 +6875,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); @@ -7035,13 +7029,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); @@ -7306,13 +7300,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var _finalUri = _response.GetFirstHeader(@"Azure-AsyncOperation"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); @@ -8743,13 +8737,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); @@ -8897,13 +8891,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); @@ -9052,7 +9046,7 @@ public partial class StackHcivm } } - /// The operation to create or update the extension. + /// The operation to update the extension. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. /// The name of the machine where the extension should be created or updated. @@ -9104,7 +9098,7 @@ public partial class StackHcivm } } - /// The operation to create or update the extension. + /// The operation to update the extension. /// /// Parameters supplied to the Create Machine Extension operation. /// a delegate that is called when the remote service returns 200 (OK). @@ -9166,7 +9160,7 @@ public partial class StackHcivm } } - /// The operation to create or update the extension. + /// The operation to update the extension. /// /// Parameters supplied to the Create Machine Extension operation. /// an instance that will receive events. @@ -9226,7 +9220,7 @@ public partial class StackHcivm } } - /// The operation to create or update the extension. + /// The operation to update the extension. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. /// The name of the machine where the extension should be created or updated. @@ -9277,7 +9271,7 @@ public partial class StackHcivm } } - /// The operation to create or update the extension. + /// The operation to update the extension. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. /// The name of the machine where the extension should be created or updated. @@ -9326,7 +9320,7 @@ public partial class StackHcivm } } - /// The operation to create or update the extension. + /// The operation to update the extension. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. /// The name of the machine where the extension should be created or updated. @@ -9393,13 +9387,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: default var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); @@ -9550,13 +9544,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: default var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); @@ -9832,13 +9826,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: default var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); @@ -10678,7 +10672,7 @@ public partial class StackHcivm } } - /// The operation to create or update the extension. + /// The operation to update the extension. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. /// The name of the machine where the extension should be created or updated. @@ -10730,7 +10724,7 @@ public partial class StackHcivm } } - /// The operation to create or update the extension. + /// The operation to update the extension. /// /// Parameters supplied to the Create Machine Extension operation. /// a delegate that is called when the remote service returns 200 (OK). @@ -10792,7 +10786,7 @@ public partial class StackHcivm } } - /// The operation to create or update the extension. + /// The operation to update the extension. /// /// Parameters supplied to the Create Machine Extension operation. /// an instance that will receive events. @@ -10852,7 +10846,7 @@ public partial class StackHcivm } } - /// The operation to create or update the extension. + /// The operation to update the extension. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. /// The name of the machine where the extension should be created or updated. @@ -10903,7 +10897,7 @@ public partial class StackHcivm } } - /// The operation to create or update the extension. + /// The operation to update the extension. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. /// The name of the machine where the extension should be created or updated. @@ -10952,7 +10946,7 @@ public partial class StackHcivm } } - /// The operation to create or update the extension. + /// The operation to update the extension. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. /// The name of the machine where the extension should be created or updated. @@ -11017,13 +11011,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: default var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); @@ -11174,13 +11168,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: default var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); @@ -11335,7 +11329,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a hybrid machine. Please note some properties can be set only during machine creation. + /// The operation to update a hybrid machine. Please note some properties can be set only during machine creation. /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. @@ -11386,7 +11380,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a hybrid machine. Please note some properties can be set only during machine creation. + /// The operation to update a hybrid machine. Please note some properties can be set only during machine creation. /// /// /// Parameters supplied to the Create hybrid machine operation. @@ -11447,7 +11441,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a hybrid machine. Please note some properties can be set only during machine creation. + /// The operation to update a hybrid machine. Please note some properties can be set only during machine creation. /// /// /// Parameters supplied to the Create hybrid machine operation. @@ -11506,7 +11500,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a hybrid machine. Please note some properties can be set only during machine creation. + /// The operation to update a hybrid machine. Please note some properties can be set only during machine creation. /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. @@ -11556,7 +11550,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a hybrid machine. Please note some properties can be set only during machine creation. + /// The operation to update a hybrid machine. Please note some properties can be set only during machine creation. /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. @@ -11604,7 +11598,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a hybrid machine. Please note some properties can be set only during machine creation. + /// The operation to update a hybrid machine. Please note some properties can be set only during machine creation. /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. @@ -13404,8 +13398,8 @@ public partial class StackHcivm } /// - /// The operation to create or update a marketplace gallery image. Please note some properties can be set only during marketplace - /// gallery image creation. + /// The operation to update a marketplace gallery image. Please note some properties can be set only during marketplace gallery + /// image creation. /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. @@ -13456,8 +13450,8 @@ public partial class StackHcivm } /// - /// The operation to create or update a marketplace gallery image. Please note some properties can be set only during marketplace - /// gallery image creation. + /// The operation to update a marketplace gallery image. Please note some properties can be set only during marketplace gallery + /// image creation. /// /// /// The marketplace gallery image resource definition. @@ -13518,8 +13512,8 @@ public partial class StackHcivm } /// - /// The operation to create or update a marketplace gallery image. Please note some properties can be set only during marketplace - /// gallery image creation. + /// The operation to update a marketplace gallery image. Please note some properties can be set only during marketplace gallery + /// image creation. /// /// /// The marketplace gallery image resource definition. @@ -13578,8 +13572,8 @@ public partial class StackHcivm } /// - /// The operation to create or update a marketplace gallery image. Please note some properties can be set only during marketplace - /// gallery image creation. + /// The operation to update a marketplace gallery image. Please note some properties can be set only during marketplace gallery + /// image creation. /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. @@ -13629,8 +13623,8 @@ public partial class StackHcivm } /// - /// The operation to create or update a marketplace gallery image. Please note some properties can be set only during marketplace - /// gallery image creation. + /// The operation to update a marketplace gallery image. Please note some properties can be set only during marketplace gallery + /// image creation. /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. @@ -13678,8 +13672,8 @@ public partial class StackHcivm } /// - /// The operation to create or update a marketplace gallery image. Please note some properties can be set only during marketplace - /// gallery image creation. + /// The operation to update a marketplace gallery image. Please note some properties can be set only during marketplace gallery + /// image creation. /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. @@ -13744,13 +13738,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); @@ -13900,13 +13894,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); @@ -14171,13 +14165,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var _finalUri = _response.GetFirstHeader(@"Azure-AsyncOperation"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); @@ -15616,13 +15610,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); @@ -15770,13 +15764,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); @@ -15926,8 +15920,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a network interface. Please note some properties can be set only during network interface - /// creation. + /// The operation to update a network interface. Please note some properties can be set only during network interface creation. /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. @@ -15978,8 +15971,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a network interface. Please note some properties can be set only during network interface - /// creation. + /// The operation to update a network interface. Please note some properties can be set only during network interface creation. /// /// /// The network interface resource definition. @@ -16040,8 +16032,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a network interface. Please note some properties can be set only during network interface - /// creation. + /// The operation to update a network interface. Please note some properties can be set only during network interface creation. /// /// /// The network interface resource definition. @@ -16100,8 +16091,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a network interface. Please note some properties can be set only during network interface - /// creation. + /// The operation to update a network interface. Please note some properties can be set only during network interface creation. /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. @@ -16151,8 +16141,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a network interface. Please note some properties can be set only during network interface - /// creation. + /// The operation to update a network interface. Please note some properties can be set only during network interface creation. /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. @@ -16200,8 +16189,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a network interface. Please note some properties can be set only during network interface - /// creation. + /// The operation to update a network interface. Please note some properties can be set only during network interface creation. /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. @@ -16266,13 +16254,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); @@ -16420,13 +16408,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); @@ -16691,13 +16679,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var _finalUri = _response.GetFirstHeader(@"Azure-AsyncOperation"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); @@ -18128,13 +18116,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); @@ -18282,13 +18270,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); @@ -19049,8 +19037,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a storage container. Please note some properties can be set only during storage container - /// creation. + /// The operation to update a storage container. Please note some properties can be set only during storage container creation. /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. @@ -19101,8 +19088,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a storage container. Please note some properties can be set only during storage container - /// creation. + /// The operation to update a storage container. Please note some properties can be set only during storage container creation. /// /// /// The storage container resource definition. @@ -19163,8 +19149,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a storage container. Please note some properties can be set only during storage container - /// creation. + /// The operation to update a storage container. Please note some properties can be set only during storage container creation. /// /// /// The storage container resource definition. @@ -19223,8 +19208,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a storage container. Please note some properties can be set only during storage container - /// creation. + /// The operation to update a storage container. Please note some properties can be set only during storage container creation. /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. @@ -19274,8 +19258,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a storage container. Please note some properties can be set only during storage container - /// creation. + /// The operation to update a storage container. Please note some properties can be set only during storage container creation. /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. @@ -19323,8 +19306,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a storage container. Please note some properties can be set only during storage container - /// creation. + /// The operation to update a storage container. Please note some properties can be set only during storage container creation. /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. @@ -19389,13 +19371,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); @@ -19543,13 +19525,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); @@ -19814,13 +19796,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var _finalUri = _response.GetFirstHeader(@"Azure-AsyncOperation"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); @@ -21251,13 +21233,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); @@ -21405,13 +21387,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); @@ -21736,13 +21718,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: default var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); @@ -21896,8 +21878,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a virtual hard disk. Please note some properties can be set only during virtual hard - /// disk creation. + /// The operation to update a virtual hard disk. Please note some properties can be set only during virtual hard disk creation. /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. @@ -21948,8 +21929,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a virtual hard disk. Please note some properties can be set only during virtual hard - /// disk creation. + /// The operation to update a virtual hard disk. Please note some properties can be set only during virtual hard disk creation. /// /// /// The virtual hard disk resource definition. @@ -22010,8 +21990,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a virtual hard disk. Please note some properties can be set only during virtual hard - /// disk creation. + /// The operation to update a virtual hard disk. Please note some properties can be set only during virtual hard disk creation. /// /// /// The virtual hard disk resource definition. @@ -22070,8 +22049,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a virtual hard disk. Please note some properties can be set only during virtual hard - /// disk creation. + /// The operation to update a virtual hard disk. Please note some properties can be set only during virtual hard disk creation. /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. @@ -22121,8 +22099,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a virtual hard disk. Please note some properties can be set only during virtual hard - /// disk creation. + /// The operation to update a virtual hard disk. Please note some properties can be set only during virtual hard disk creation. /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. @@ -22170,8 +22147,7 @@ public partial class StackHcivm } /// - /// The operation to create or update a virtual hard disk. Please note some properties can be set only during virtual hard - /// disk creation. + /// The operation to update a virtual hard disk. Please note some properties can be set only during virtual hard disk creation. /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. @@ -22236,13 +22212,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); @@ -22390,13 +22366,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); @@ -22661,13 +22637,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var _finalUri = _response.GetFirstHeader(@"Azure-AsyncOperation"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); @@ -24098,13 +24074,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); @@ -24252,13 +24228,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); @@ -24408,8 +24384,8 @@ public partial class StackHcivm } /// - /// The operation to create or update a virtual machine instance. Please note some properties can be set only during virtual - /// machine instance creation. + /// The operation to update a virtual machine instance. Please note some properties can be set only during virtual machine + /// instance creation. /// /// The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource /// to be extended. @@ -24456,8 +24432,8 @@ public partial class StackHcivm } /// - /// The operation to create or update a virtual machine instance. Please note some properties can be set only during virtual - /// machine instance creation. + /// The operation to update a virtual machine instance. Please note some properties can be set only during virtual machine + /// instance creation. /// /// /// The virtual machine instance resource definition. @@ -24513,8 +24489,8 @@ public partial class StackHcivm } /// - /// The operation to create or update a virtual machine instance. Please note some properties can be set only during virtual - /// machine instance creation. + /// The operation to update a virtual machine instance. Please note some properties can be set only during virtual machine + /// instance creation. /// /// /// The virtual machine instance resource definition. @@ -24568,8 +24544,8 @@ public partial class StackHcivm } /// - /// The operation to create or update a virtual machine instance. Please note some properties can be set only during virtual - /// machine instance creation. + /// The operation to update a virtual machine instance. Please note some properties can be set only during virtual machine + /// instance creation. /// /// The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource /// to be extended. @@ -24615,8 +24591,8 @@ public partial class StackHcivm } /// - /// The operation to create or update a virtual machine instance. Please note some properties can be set only during virtual - /// machine instance creation. + /// The operation to update a virtual machine instance. Please note some properties can be set only during virtual machine + /// instance creation. /// /// The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource /// to be extended. @@ -24660,8 +24636,8 @@ public partial class StackHcivm } /// - /// The operation to create or update a virtual machine instance. Please note some properties can be set only during virtual - /// machine instance creation. + /// The operation to update a virtual machine instance. Please note some properties can be set only during virtual machine + /// instance creation. /// /// The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource /// to be extended. @@ -24722,13 +24698,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); @@ -24878,13 +24854,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); @@ -25131,13 +25107,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var _finalUri = _response.GetFirstHeader(@"Azure-AsyncOperation"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); @@ -26076,13 +26052,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: location var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); @@ -26231,13 +26207,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: location var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); @@ -26562,13 +26538,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: location var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); @@ -26717,13 +26693,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: location var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); @@ -27048,13 +27024,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: location var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); @@ -27203,13 +27179,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: location var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); @@ -27644,13 +27620,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); @@ -27798,13 +27774,13 @@ public partial class StackHcivm global::System.Net.Http.HttpResponseMessage _response = null; try { + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMGalleryImage_CreateExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMGalleryImage_CreateExpanded.cs index 9fba4e02fe23..a415792079b1 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMGalleryImage_CreateExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMGalleryImage_CreateExpanded.cs @@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a gallery image. Please note some properties can be set only during gallery image creation. + /// The operation to create a gallery image. Please note some properties can be set only during gallery image creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryImages/{galleryImageName}" @@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStackHCIVMGalleryImage_CreateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImages))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a gallery image. Please note some properties can be set only during gallery image creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create a gallery image. Please note some properties can be set only during gallery image creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryImages/{galleryImageName}", ApiVersion = "2024-01-01")] public partial class NewAzStackHCIVMGalleryImage_CreateExpanded : global::System.Management.Automation.PSCmdlet, @@ -43,18 +43,9 @@ public partial class NewAzStackHCIVMGalleryImage_CreateExpanded : global::System /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - /// The gallery images resource definition. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImages _galleryImagesBody = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.GalleryImages(); - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -159,8 +150,8 @@ public partial class NewAzStackHCIVMGalleryImage_CreateExpanded : global::System ReadOnly = false, Description = @"location of the image the gallery image should be created from", SerializedName = @"imagePath", - PossibleTypes = new [] { typeof(string) })] - public string ImagePath { get => _galleryImagesBody.ImagePath ?? null; set => _galleryImagesBody.ImagePath = value; } + PossibleTypes = new [] { typeof(System.Security.SecureString) })] + public System.Security.SecureString ImagePath { get => _galleryImagesBody.ImagePath ?? null; set => _galleryImagesBody.ImagePath = value; } /// Accessor for our copy of the InvocationInfo. public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } @@ -409,11 +400,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.NewAzStackHCIVMGall /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -733,24 +719,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImages var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMGalleryImage_CreateViaJsonFilePath.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMGalleryImage_CreateViaJsonFilePath.cs index 4cdb8838c896..836e391d8356 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMGalleryImage_CreateViaJsonFilePath.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMGalleryImage_CreateViaJsonFilePath.cs @@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a gallery image. Please note some properties can be set only during gallery image creation. + /// The operation to create a gallery image. Please note some properties can be set only during gallery image creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryImages/{galleryImageName}" @@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStackHCIVMGalleryImage_CreateViaJsonFilePath", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImages))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a gallery image. Please note some properties can be set only during gallery image creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create a gallery image. Please note some properties can be set only during gallery image creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryImages/{galleryImageName}", ApiVersion = "2024-01-01")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -44,17 +44,8 @@ public partial class NewAzStackHCIVMGalleryImage_CreateViaJsonFilePath : global: /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - public global::System.String _jsonString; - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -266,11 +257,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.NewAzStackHCIVMGall /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -586,24 +572,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImages var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMGalleryImage_CreateViaJsonString.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMGalleryImage_CreateViaJsonString.cs index 4083a2ee0b73..dba3117c4f11 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMGalleryImage_CreateViaJsonString.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMGalleryImage_CreateViaJsonString.cs @@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a gallery image. Please note some properties can be set only during gallery image creation. + /// The operation to create a gallery image. Please note some properties can be set only during gallery image creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryImages/{galleryImageName}" @@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStackHCIVMGalleryImage_CreateViaJsonString", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImages))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a gallery image. Please note some properties can be set only during gallery image creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create a gallery image. Please note some properties can be set only during gallery image creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryImages/{galleryImageName}", ApiVersion = "2024-01-01")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -44,15 +44,6 @@ public partial class NewAzStackHCIVMGalleryImage_CreateViaJsonString : global::S /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -264,11 +255,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.NewAzStackHCIVMGall /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -584,24 +570,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImages var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMGuestAgent_CreateExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMGuestAgent_CreateExpanded.cs index b7b56de46975..65efc100b1a7 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMGuestAgent_CreateExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMGuestAgent_CreateExpanded.cs @@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Cmdlets; using System; - /// Create GuestAgent. + /// create GuestAgent. /// /// [OpenAPI] Create=>PUT:"/{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default/guestAgents/default" /// [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStackHCIVMGuestAgent_CreateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgent))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"Create GuestAgent.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"create GuestAgent.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default/guestAgents/default", ApiVersion = "2024-01-01")] public partial class NewAzStackHCIVMGuestAgent_CreateExpanded : global::System.Management.Automation.PSCmdlet, @@ -44,15 +44,6 @@ public partial class NewAzStackHCIVMGuestAgent_CreateExpanded : global::System.M /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -251,11 +242,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.NewAzStackHCIVMGues /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -571,24 +557,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgent var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMGuestAgent_CreateViaJsonFilePath.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMGuestAgent_CreateViaJsonFilePath.cs index 292ccfe0de76..94d71e5d6409 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMGuestAgent_CreateViaJsonFilePath.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMGuestAgent_CreateViaJsonFilePath.cs @@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Cmdlets; using System; - /// Create GuestAgent. + /// create GuestAgent. /// /// [OpenAPI] Create=>PUT:"/{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default/guestAgents/default" /// [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStackHCIVMGuestAgent_CreateViaJsonFilePath", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgent))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"Create GuestAgent.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"create GuestAgent.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default/guestAgents/default", ApiVersion = "2024-01-01")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -42,17 +42,8 @@ public partial class NewAzStackHCIVMGuestAgent_CreateViaJsonFilePath : global::S /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - public global::System.String _jsonString; - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -230,11 +221,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.NewAzStackHCIVMGues /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -550,24 +536,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgent var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMGuestAgent_CreateViaJsonString.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMGuestAgent_CreateViaJsonString.cs index 2c7cd5a2dd7e..92ab6f5cec27 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMGuestAgent_CreateViaJsonString.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMGuestAgent_CreateViaJsonString.cs @@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Cmdlets; using System; - /// Create GuestAgent. + /// create GuestAgent. /// /// [OpenAPI] Create=>PUT:"/{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default/guestAgents/default" /// [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStackHCIVMGuestAgent_CreateViaJsonString", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgent))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"Create GuestAgent.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"create GuestAgent.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default/guestAgents/default", ApiVersion = "2024-01-01")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -42,15 +42,6 @@ public partial class NewAzStackHCIVMGuestAgent_CreateViaJsonString : global::Sys /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -228,11 +219,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.NewAzStackHCIVMGues /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -548,24 +534,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgent var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMLogicalNetwork_CreateExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMLogicalNetwork_CreateExpanded.cs index 0cd7174bd488..0d85b8f403e0 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMLogicalNetwork_CreateExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMLogicalNetwork_CreateExpanded.cs @@ -11,8 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a logical network. Please note some properties can be set only during logical network - /// creation. + /// The operation to create a logical network. Please note some properties can be set only during logical network creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/logicalNetworks/{logicalNetworkName}" @@ -20,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStackHCIVMLogicalNetwork_CreateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworks))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a logical network. Please note some properties can be set only during logical network creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create a logical network. Please note some properties can be set only during logical network creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/logicalNetworks/{logicalNetworkName}", ApiVersion = "2024-01-01")] public partial class NewAzStackHCIVMLogicalNetwork_CreateExpanded : global::System.Management.Automation.PSCmdlet, @@ -44,18 +43,9 @@ public partial class NewAzStackHCIVMLogicalNetwork_CreateExpanded : global::Syst /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - /// The logical network resource definition. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworks _logicalNetworksBody = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.LogicalNetworks(); - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -341,11 +331,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.NewAzStackHCIVMLogi /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -665,24 +650,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworks var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMLogicalNetwork_CreateViaJsonFilePath.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMLogicalNetwork_CreateViaJsonFilePath.cs index 88c2289e6eee..3b8b0d670334 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMLogicalNetwork_CreateViaJsonFilePath.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMLogicalNetwork_CreateViaJsonFilePath.cs @@ -11,8 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a logical network. Please note some properties can be set only during logical network - /// creation. + /// The operation to create a logical network. Please note some properties can be set only during logical network creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/logicalNetworks/{logicalNetworkName}" @@ -20,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStackHCIVMLogicalNetwork_CreateViaJsonFilePath", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworks))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a logical network. Please note some properties can be set only during logical network creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create a logical network. Please note some properties can be set only during logical network creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/logicalNetworks/{logicalNetworkName}", ApiVersion = "2024-01-01")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -45,17 +44,8 @@ public partial class NewAzStackHCIVMLogicalNetwork_CreateViaJsonFilePath : globa /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - public global::System.String _jsonString; - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -267,11 +257,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.NewAzStackHCIVMLogi /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -587,24 +572,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworks var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMLogicalNetwork_CreateViaJsonString.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMLogicalNetwork_CreateViaJsonString.cs index 1f3ac1034c5d..a687b06bed58 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMLogicalNetwork_CreateViaJsonString.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMLogicalNetwork_CreateViaJsonString.cs @@ -11,8 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a logical network. Please note some properties can be set only during logical network - /// creation. + /// The operation to create a logical network. Please note some properties can be set only during logical network creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/logicalNetworks/{logicalNetworkName}" @@ -20,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStackHCIVMLogicalNetwork_CreateViaJsonString", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworks))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a logical network. Please note some properties can be set only during logical network creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create a logical network. Please note some properties can be set only during logical network creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/logicalNetworks/{logicalNetworkName}", ApiVersion = "2024-01-01")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -45,15 +44,6 @@ public partial class NewAzStackHCIVMLogicalNetwork_CreateViaJsonString : global: /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -265,11 +255,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.NewAzStackHCIVMLogi /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -585,24 +570,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworks var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMachineExtension_CreateExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMachineExtension_CreateExpanded.cs index b82e03cc0790..a100b1a2f51d 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMachineExtension_CreateExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMachineExtension_CreateExpanded.cs @@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Cmdlets; using System; - /// The operation to create or update the extension. + /// The operation to create the extension. /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStackHCIVMMachineExtension_CreateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtension))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update the extension.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2023-03-15-preview")] public partial class NewAzStackHCIVMMachineExtension_CreateExpanded : global::System.Management.Automation.PSCmdlet, @@ -44,15 +44,6 @@ public partial class NewAzStackHCIVMMachineExtension_CreateExpanded : global::Sy /// Describes a Machine Extension. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtension _extensionParametersBody = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.MachineExtension(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -476,11 +467,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.NewAzStackHCIVMMach /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -796,24 +782,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtension var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMachineExtension_CreateViaIdentityMachine.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMachineExtension_CreateViaIdentityMachine.cs index 701c8c240879..21064444da1d 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMachineExtension_CreateViaIdentityMachine.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMachineExtension_CreateViaIdentityMachine.cs @@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Cmdlets; using System; - /// The operation to create or update the extension. + /// The operation to create the extension. /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStackHCIVMMachineExtension_CreateViaIdentityMachine", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtension))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update the extension.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2023-03-15-preview")] public partial class NewAzStackHCIVMMachineExtension_CreateViaIdentityMachine : global::System.Management.Automation.PSCmdlet, @@ -41,15 +41,6 @@ public partial class NewAzStackHCIVMMachineExtension_CreateViaIdentityMachine : /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -236,11 +227,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.NewAzStackHCIVMMach /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -577,24 +563,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtension var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMachineExtension_CreateViaIdentityMachineExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMachineExtension_CreateViaIdentityMachineExpanded.cs index 96fed6d2ea9b..69679e1d35e4 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMachineExtension_CreateViaIdentityMachineExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMachineExtension_CreateViaIdentityMachineExpanded.cs @@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Cmdlets; using System; - /// The operation to create or update the extension. + /// The operation to create the extension. /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStackHCIVMMachineExtension_CreateViaIdentityMachineExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtension))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update the extension.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2023-03-15-preview")] public partial class NewAzStackHCIVMMachineExtension_CreateViaIdentityMachineExpanded : global::System.Management.Automation.PSCmdlet, @@ -44,15 +44,6 @@ public partial class NewAzStackHCIVMMachineExtension_CreateViaIdentityMachineExp /// Describes a Machine Extension. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtension _extensionParametersBody = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.MachineExtension(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -436,11 +427,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.NewAzStackHCIVMMach /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -778,24 +764,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtension var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMachineExtension_CreateViaJsonFilePath.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMachineExtension_CreateViaJsonFilePath.cs index 154b1e4ee252..4666d623eed3 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMachineExtension_CreateViaJsonFilePath.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMachineExtension_CreateViaJsonFilePath.cs @@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Cmdlets; using System; - /// The operation to create or update the extension. + /// The operation to create the extension. /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStackHCIVMMachineExtension_CreateViaJsonFilePath", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtension))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update the extension.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2023-03-15-preview")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -42,17 +42,8 @@ public partial class NewAzStackHCIVMMachineExtension_CreateViaJsonFilePath : glo /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - public global::System.String _jsonString; - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -278,11 +269,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.NewAzStackHCIVMMach /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -598,24 +584,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtension var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMachineExtension_CreateViaJsonString.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMachineExtension_CreateViaJsonString.cs index 590980ac7da7..06c726d60e33 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMachineExtension_CreateViaJsonString.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMachineExtension_CreateViaJsonString.cs @@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Cmdlets; using System; - /// The operation to create or update the extension. + /// The operation to create the extension. /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStackHCIVMMachineExtension_CreateViaJsonString", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtension))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update the extension.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2023-03-15-preview")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -42,15 +42,6 @@ public partial class NewAzStackHCIVMMachineExtension_CreateViaJsonString : globa /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -276,11 +267,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.NewAzStackHCIVMMach /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -596,24 +582,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtension var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMachine_CreateExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMachine_CreateExpanded.cs index 4bd5eae3aab9..f7bfbcdaed14 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMachine_CreateExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMachine_CreateExpanded.cs @@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a hybrid machine. Please note some properties can be set only during machine creation. + /// The operation to create a hybrid machine. Please note some properties can be set only during machine creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}" @@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStackHCIVMMachine_CreateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachine))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a hybrid machine. Please note some properties can be set only during machine creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create a hybrid machine. Please note some properties can be set only during machine creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}", ApiVersion = "2023-03-15-preview")] public partial class NewAzStackHCIVMMachine_CreateExpanded : global::System.Management.Automation.PSCmdlet, diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMachine_CreateViaJsonFilePath.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMachine_CreateViaJsonFilePath.cs index b71a38796c1c..000073bc530d 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMachine_CreateViaJsonFilePath.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMachine_CreateViaJsonFilePath.cs @@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a hybrid machine. Please note some properties can be set only during machine creation. + /// The operation to create a hybrid machine. Please note some properties can be set only during machine creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}" @@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStackHCIVMMachine_CreateViaJsonFilePath", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachine))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a hybrid machine. Please note some properties can be set only during machine creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create a hybrid machine. Please note some properties can be set only during machine creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}", ApiVersion = "2023-03-15-preview")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMachine_CreateViaJsonString.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMachine_CreateViaJsonString.cs index 663779b1fd80..f29c765c87a8 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMachine_CreateViaJsonString.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMachine_CreateViaJsonString.cs @@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a hybrid machine. Please note some properties can be set only during machine creation. + /// The operation to create a hybrid machine. Please note some properties can be set only during machine creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}" @@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStackHCIVMMachine_CreateViaJsonString", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachine))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a hybrid machine. Please note some properties can be set only during machine creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create a hybrid machine. Please note some properties can be set only during machine creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}", ApiVersion = "2023-03-15-preview")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMarketplaceGalleryImage_CreateExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMarketplaceGalleryImage_CreateExpanded.cs index 4d9ac3967945..9eaeda07e654 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMarketplaceGalleryImage_CreateExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMarketplaceGalleryImage_CreateExpanded.cs @@ -11,8 +11,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a marketplace gallery image. Please note some properties can be set only during marketplace - /// gallery image creation. + /// The operation to create a marketplace gallery image. Please note some properties can be set only during marketplace gallery + /// image creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/{marketplaceGalleryImageName}" @@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStackHCIVMMarketplaceGalleryImage_CreateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImages))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a marketplace gallery image. Please note some properties can be set only during marketplace gallery image creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create a marketplace gallery image. Please note some properties can be set only during marketplace gallery image creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/{marketplaceGalleryImageName}", ApiVersion = "2024-01-01")] public partial class NewAzStackHCIVMMarketplaceGalleryImage_CreateExpanded : global::System.Management.Automation.PSCmdlet, @@ -44,18 +44,9 @@ public partial class NewAzStackHCIVMMarketplaceGalleryImage_CreateExpanded : glo /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - /// The marketplace gallery image resource definition. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImages _marketplaceGalleryImagesBody = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.MarketplaceGalleryImages(); - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -401,11 +392,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.NewAzStackHCIVMMark /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -725,24 +711,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImages var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMarketplaceGalleryImage_CreateViaJsonFilePath.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMarketplaceGalleryImage_CreateViaJsonFilePath.cs index 91d2faf07374..bc87e6e0e3b6 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMarketplaceGalleryImage_CreateViaJsonFilePath.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMarketplaceGalleryImage_CreateViaJsonFilePath.cs @@ -11,8 +11,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a marketplace gallery image. Please note some properties can be set only during marketplace - /// gallery image creation. + /// The operation to create a marketplace gallery image. Please note some properties can be set only during marketplace gallery + /// image creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/{marketplaceGalleryImageName}" @@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStackHCIVMMarketplaceGalleryImage_CreateViaJsonFilePath", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImages))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a marketplace gallery image. Please note some properties can be set only during marketplace gallery image creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create a marketplace gallery image. Please note some properties can be set only during marketplace gallery image creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/{marketplaceGalleryImageName}", ApiVersion = "2024-01-01")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -45,17 +45,8 @@ public partial class NewAzStackHCIVMMarketplaceGalleryImage_CreateViaJsonFilePat /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - public global::System.String _jsonString; - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -269,11 +260,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.NewAzStackHCIVMMark /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -589,24 +575,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImages var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMarketplaceGalleryImage_CreateViaJsonString.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMarketplaceGalleryImage_CreateViaJsonString.cs index 909d7853bb90..6e18786c8ebe 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMarketplaceGalleryImage_CreateViaJsonString.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMMarketplaceGalleryImage_CreateViaJsonString.cs @@ -11,8 +11,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a marketplace gallery image. Please note some properties can be set only during marketplace - /// gallery image creation. + /// The operation to create a marketplace gallery image. Please note some properties can be set only during marketplace gallery + /// image creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/{marketplaceGalleryImageName}" @@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStackHCIVMMarketplaceGalleryImage_CreateViaJsonString", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImages))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a marketplace gallery image. Please note some properties can be set only during marketplace gallery image creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create a marketplace gallery image. Please note some properties can be set only during marketplace gallery image creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/{marketplaceGalleryImageName}", ApiVersion = "2024-01-01")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -45,15 +45,6 @@ public partial class NewAzStackHCIVMMarketplaceGalleryImage_CreateViaJsonString /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -267,11 +258,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.NewAzStackHCIVMMark /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -587,24 +573,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImages var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMNetworkInterface_CreateExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMNetworkInterface_CreateExpanded.cs index c90ea8f5c46a..3df92244ab5d 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMNetworkInterface_CreateExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMNetworkInterface_CreateExpanded.cs @@ -11,8 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a network interface. Please note some properties can be set only during network interface - /// creation. + /// The operation to create a network interface. Please note some properties can be set only during network interface creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkInterfaces/{networkInterfaceName}" @@ -20,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStackHCIVMNetworkInterface_CreateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaces))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a network interface. Please note some properties can be set only during network interface creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create a network interface. Please note some properties can be set only during network interface creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkInterfaces/{networkInterfaceName}", ApiVersion = "2024-01-01")] public partial class NewAzStackHCIVMNetworkInterface_CreateExpanded : global::System.Management.Automation.PSCmdlet, @@ -44,18 +43,9 @@ public partial class NewAzStackHCIVMNetworkInterface_CreateExpanded : global::Sy /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - /// The network interface resource definition. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaces _networkInterfacesBody = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.NetworkInterfaces(); - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -341,11 +331,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.NewAzStackHCIVMNetw /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -665,24 +650,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaces var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMNetworkInterface_CreateViaJsonFilePath.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMNetworkInterface_CreateViaJsonFilePath.cs index 889d947298d6..40dc2204f643 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMNetworkInterface_CreateViaJsonFilePath.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMNetworkInterface_CreateViaJsonFilePath.cs @@ -11,8 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a network interface. Please note some properties can be set only during network interface - /// creation. + /// The operation to create a network interface. Please note some properties can be set only during network interface creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkInterfaces/{networkInterfaceName}" @@ -20,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStackHCIVMNetworkInterface_CreateViaJsonFilePath", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaces))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a network interface. Please note some properties can be set only during network interface creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create a network interface. Please note some properties can be set only during network interface creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkInterfaces/{networkInterfaceName}", ApiVersion = "2024-01-01")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -45,17 +44,8 @@ public partial class NewAzStackHCIVMNetworkInterface_CreateViaJsonFilePath : glo /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - public global::System.String _jsonString; - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -267,11 +257,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.NewAzStackHCIVMNetw /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -587,24 +572,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaces var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMNetworkInterface_CreateViaJsonString.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMNetworkInterface_CreateViaJsonString.cs index 7a74bb9ec9ca..75da0e5bd0fe 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMNetworkInterface_CreateViaJsonString.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMNetworkInterface_CreateViaJsonString.cs @@ -11,8 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a network interface. Please note some properties can be set only during network interface - /// creation. + /// The operation to create a network interface. Please note some properties can be set only during network interface creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkInterfaces/{networkInterfaceName}" @@ -20,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStackHCIVMNetworkInterface_CreateViaJsonString", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaces))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a network interface. Please note some properties can be set only during network interface creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create a network interface. Please note some properties can be set only during network interface creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkInterfaces/{networkInterfaceName}", ApiVersion = "2024-01-01")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -45,15 +44,6 @@ public partial class NewAzStackHCIVMNetworkInterface_CreateViaJsonString : globa /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -265,11 +255,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.NewAzStackHCIVMNetw /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -585,24 +570,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaces var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMStoragePath_CreateExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMStoragePath_CreateExpanded.cs index 1a27a532db24..77f5f8e73714 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMStoragePath_CreateExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMStoragePath_CreateExpanded.cs @@ -11,8 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a storage container. Please note some properties can be set only during storage container - /// creation. + /// The operation to create a storage container. Please note some properties can be set only during storage container creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/storageContainers/{storageContainerName}" @@ -20,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStackHCIVMStoragePath_CreateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainers))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a storage container. Please note some properties can be set only during storage container creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create a storage container. Please note some properties can be set only during storage container creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/storageContainers/{storageContainerName}", ApiVersion = "2024-01-01")] public partial class NewAzStackHCIVMStoragePath_CreateExpanded : global::System.Management.Automation.PSCmdlet, @@ -44,15 +43,6 @@ public partial class NewAzStackHCIVMStoragePath_CreateExpanded : global::System. /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// The storage container resource definition. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainers _storageContainersBody = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.StorageContainers(); @@ -317,11 +307,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.NewAzStackHCIVMStor /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -641,24 +626,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainers var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMStoragePath_CreateViaJsonFilePath.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMStoragePath_CreateViaJsonFilePath.cs index 545e21bdf8fd..270e11bcf836 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMStoragePath_CreateViaJsonFilePath.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMStoragePath_CreateViaJsonFilePath.cs @@ -11,8 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a storage container. Please note some properties can be set only during storage container - /// creation. + /// The operation to create a storage container. Please note some properties can be set only during storage container creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/storageContainers/{storageContainerName}" @@ -20,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStackHCIVMStoragePath_CreateViaJsonFilePath", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainers))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a storage container. Please note some properties can be set only during storage container creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create a storage container. Please note some properties can be set only during storage container creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/storageContainers/{storageContainerName}", ApiVersion = "2024-01-01")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -45,17 +44,8 @@ public partial class NewAzStackHCIVMStoragePath_CreateViaJsonFilePath : global:: /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - public global::System.String _jsonString; - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -267,11 +257,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.NewAzStackHCIVMStor /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -587,24 +572,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainers var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMStoragePath_CreateViaJsonString.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMStoragePath_CreateViaJsonString.cs index 23d606662fe8..522d7e96b83a 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMStoragePath_CreateViaJsonString.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMStoragePath_CreateViaJsonString.cs @@ -11,8 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a storage container. Please note some properties can be set only during storage container - /// creation. + /// The operation to create a storage container. Please note some properties can be set only during storage container creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/storageContainers/{storageContainerName}" @@ -20,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStackHCIVMStoragePath_CreateViaJsonString", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainers))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a storage container. Please note some properties can be set only during storage container creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create a storage container. Please note some properties can be set only during storage container creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/storageContainers/{storageContainerName}", ApiVersion = "2024-01-01")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -45,15 +44,6 @@ public partial class NewAzStackHCIVMStoragePath_CreateViaJsonString : global::Sy /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -265,11 +255,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.NewAzStackHCIVMStor /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -585,24 +570,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainers var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMVirtualHardDisk_CreateExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMVirtualHardDisk_CreateExpanded.cs index d4054f4ad9bc..b02864b7ca82 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMVirtualHardDisk_CreateExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMVirtualHardDisk_CreateExpanded.cs @@ -11,8 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a virtual hard disk. Please note some properties can be set only during virtual hard - /// disk creation. + /// The operation to create a virtual hard disk. Please note some properties can be set only during virtual hard disk creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualHardDisks/{virtualHardDiskName}" @@ -20,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStackHCIVMVirtualHardDisk_CreateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDisks))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a virtual hard disk. Please note some properties can be set only during virtual hard disk creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create a virtual hard disk. Please note some properties can be set only during virtual hard disk creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualHardDisks/{virtualHardDiskName}", ApiVersion = "2024-01-01")] public partial class NewAzStackHCIVMVirtualHardDisk_CreateExpanded : global::System.Management.Automation.PSCmdlet, @@ -44,15 +43,6 @@ public partial class NewAzStackHCIVMVirtualHardDisk_CreateExpanded : global::Sys /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// The virtual hard disk resource definition. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDisks _virtualHardDisksBody = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.VirtualHardDisks(); @@ -396,11 +386,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.NewAzStackHCIVMVirt /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -720,24 +705,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDisks var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMVirtualHardDisk_CreateViaJsonFilePath.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMVirtualHardDisk_CreateViaJsonFilePath.cs index 17fae21f6082..c1c6941c9131 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMVirtualHardDisk_CreateViaJsonFilePath.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMVirtualHardDisk_CreateViaJsonFilePath.cs @@ -11,8 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a virtual hard disk. Please note some properties can be set only during virtual hard - /// disk creation. + /// The operation to create a virtual hard disk. Please note some properties can be set only during virtual hard disk creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualHardDisks/{virtualHardDiskName}" @@ -20,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStackHCIVMVirtualHardDisk_CreateViaJsonFilePath", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDisks))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a virtual hard disk. Please note some properties can be set only during virtual hard disk creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create a virtual hard disk. Please note some properties can be set only during virtual hard disk creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualHardDisks/{virtualHardDiskName}", ApiVersion = "2024-01-01")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -45,17 +44,8 @@ public partial class NewAzStackHCIVMVirtualHardDisk_CreateViaJsonFilePath : glob /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - public global::System.String _jsonString; - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -267,11 +257,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.NewAzStackHCIVMVirt /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -587,24 +572,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDisks var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMVirtualHardDisk_CreateViaJsonString.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMVirtualHardDisk_CreateViaJsonString.cs index 49727f8b2c40..0eae002f9846 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMVirtualHardDisk_CreateViaJsonString.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMVirtualHardDisk_CreateViaJsonString.cs @@ -11,8 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a virtual hard disk. Please note some properties can be set only during virtual hard - /// disk creation. + /// The operation to create a virtual hard disk. Please note some properties can be set only during virtual hard disk creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualHardDisks/{virtualHardDiskName}" @@ -20,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStackHCIVMVirtualHardDisk_CreateViaJsonString", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDisks))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a virtual hard disk. Please note some properties can be set only during virtual hard disk creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create a virtual hard disk. Please note some properties can be set only during virtual hard disk creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualHardDisks/{virtualHardDiskName}", ApiVersion = "2024-01-01")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -45,15 +44,6 @@ public partial class NewAzStackHCIVMVirtualHardDisk_CreateViaJsonString : global /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -265,11 +255,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.NewAzStackHCIVMVirt /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -585,24 +570,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDisks var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMVirtualMachine_CreateExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMVirtualMachine_CreateExpanded.cs index c1e5c4d1afb3..28eff970b14e 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMVirtualMachine_CreateExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMVirtualMachine_CreateExpanded.cs @@ -11,8 +11,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a virtual machine instance. Please note some properties can be set only during virtual - /// machine instance creation. + /// The operation to create a virtual machine instance. Please note some properties can be set only during virtual machine + /// instance creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default" @@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStackHCIVMVirtualMachine_CreateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstance))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a virtual machine instance. Please note some properties can be set only during virtual machine instance creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create a virtual machine instance. Please note some properties can be set only during virtual machine instance creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default", ApiVersion = "2024-01-01")] public partial class NewAzStackHCIVMVirtualMachine_CreateExpanded : global::System.Management.Automation.PSCmdlet, @@ -44,15 +44,6 @@ public partial class NewAzStackHCIVMVirtualMachine_CreateExpanded : global::Syst /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// The virtual machine instance resource definition. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstance _virtualMachineInstanceBody = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.VirtualMachineInstance(); @@ -64,8 +55,8 @@ public partial class NewAzStackHCIVMVirtualMachine_CreateExpanded : global::Syst ReadOnly = false, Description = @"AdminPassword - admin password", SerializedName = @"adminPassword", - PossibleTypes = new [] { typeof(string) })] - public string AdminPassword { get => _virtualMachineInstanceBody.OSProfileAdminPassword ?? null; set => _virtualMachineInstanceBody.OSProfileAdminPassword = value; } + PossibleTypes = new [] { typeof(System.Security.SecureString) })] + public System.Security.SecureString AdminPassword { get => _virtualMachineInstanceBody.OSProfileAdminPassword ?? null; set => _virtualMachineInstanceBody.OSProfileAdminPassword = value; } /// AdminUsername - admin username [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "AdminUsername - admin username")] @@ -647,11 +638,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.NewAzStackHCIVMVirt /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -971,24 +957,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstance var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMVirtualMachine_CreateViaJsonFilePath.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMVirtualMachine_CreateViaJsonFilePath.cs index 9a00a32e914b..25df4b2f72c9 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMVirtualMachine_CreateViaJsonFilePath.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMVirtualMachine_CreateViaJsonFilePath.cs @@ -11,8 +11,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a virtual machine instance. Please note some properties can be set only during virtual - /// machine instance creation. + /// The operation to create a virtual machine instance. Please note some properties can be set only during virtual machine + /// instance creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default" @@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStackHCIVMVirtualMachine_CreateViaJsonFilePath", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstance))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a virtual machine instance. Please note some properties can be set only during virtual machine instance creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create a virtual machine instance. Please note some properties can be set only during virtual machine instance creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default", ApiVersion = "2024-01-01")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -45,17 +45,8 @@ public partial class NewAzStackHCIVMVirtualMachine_CreateViaJsonFilePath : globa /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - public global::System.String _jsonString; - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -233,11 +224,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.NewAzStackHCIVMVirt /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -553,24 +539,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstance var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMVirtualMachine_CreateViaJsonString.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMVirtualMachine_CreateViaJsonString.cs index c2a341cd2188..57d7f463bd32 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMVirtualMachine_CreateViaJsonString.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/NewAzStackHCIVMVirtualMachine_CreateViaJsonString.cs @@ -11,8 +11,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a virtual machine instance. Please note some properties can be set only during virtual - /// machine instance creation. + /// The operation to create a virtual machine instance. Please note some properties can be set only during virtual machine + /// instance creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default" @@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStackHCIVMVirtualMachine_CreateViaJsonString", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstance))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a virtual machine instance. Please note some properties can be set only during virtual machine instance creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create a virtual machine instance. Please note some properties can be set only during virtual machine instance creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default", ApiVersion = "2024-01-01")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -45,15 +45,6 @@ public partial class NewAzStackHCIVMVirtualMachine_CreateViaJsonString : global: /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -231,11 +222,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.NewAzStackHCIVMVirt /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -551,24 +537,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstance var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMGalleryImage_Delete.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMGalleryImage_Delete.cs index 4f8f88e8cf34..26691de8c589 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMGalleryImage_Delete.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMGalleryImage_Delete.cs @@ -41,15 +41,6 @@ public partial class RemoveAzStackHCIVMGalleryImage_Delete : global::System.Mana /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -262,11 +253,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.RemoveAzStackHCIVMG /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -578,7 +564,7 @@ protected override void StopProcessing() return ; } // onNoContent - response for 204 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } @@ -602,7 +588,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMGalleryImage_DeleteViaIdentity.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMGalleryImage_DeleteViaIdentity.cs index 1526299c20f2..540de93a78f5 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMGalleryImage_DeleteViaIdentity.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMGalleryImage_DeleteViaIdentity.cs @@ -41,15 +41,6 @@ public partial class RemoveAzStackHCIVMGalleryImage_DeleteViaIdentity : global:: /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -219,11 +210,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.RemoveAzStackHCIVMG /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -555,7 +541,7 @@ protected override void StopProcessing() return ; } // onNoContent - response for 204 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } @@ -579,7 +565,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMGuestAgent_Delete.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMGuestAgent_Delete.cs index 539ecdc6d039..a2b44e432ed0 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMGuestAgent_Delete.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMGuestAgent_Delete.cs @@ -41,15 +41,6 @@ public partial class RemoveAzStackHCIVMGuestAgent_Delete : global::System.Manage /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -228,11 +219,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.RemoveAzStackHCIVMG /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -544,7 +530,7 @@ protected override void StopProcessing() return ; } // onNoContent - response for 204 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } @@ -568,7 +554,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMLogicalNetwork_Delete.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMLogicalNetwork_Delete.cs index 5050143e5c76..fc190bbe82ab 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMLogicalNetwork_Delete.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMLogicalNetwork_Delete.cs @@ -41,15 +41,6 @@ public partial class RemoveAzStackHCIVMLogicalNetwork_Delete : global::System.Ma /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -262,11 +253,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.RemoveAzStackHCIVML /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -578,7 +564,7 @@ protected override void StopProcessing() return ; } // onNoContent - response for 204 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } @@ -602,7 +588,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMLogicalNetwork_DeleteViaIdentity.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMLogicalNetwork_DeleteViaIdentity.cs index b0592b339fbf..ab338f79f2a7 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMLogicalNetwork_DeleteViaIdentity.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMLogicalNetwork_DeleteViaIdentity.cs @@ -41,15 +41,6 @@ public partial class RemoveAzStackHCIVMLogicalNetwork_DeleteViaIdentity : global /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -219,11 +210,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.RemoveAzStackHCIVML /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -555,7 +541,7 @@ protected override void StopProcessing() return ; } // onNoContent - response for 204 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } @@ -579,7 +565,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMMachineExtension_Delete.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMMachineExtension_Delete.cs index c2c01472419c..851eb9cf7a5d 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMMachineExtension_Delete.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMMachineExtension_Delete.cs @@ -41,15 +41,6 @@ public partial class RemoveAzStackHCIVMMachineExtension_Delete : global::System. /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -276,11 +267,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.RemoveAzStackHCIVMM /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -592,7 +578,7 @@ protected override void StopProcessing() return ; } // onNoContent - response for 204 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } @@ -616,7 +602,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMMachineExtension_DeleteViaIdentity.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMMachineExtension_DeleteViaIdentity.cs index 4a8c94e01d24..54e802eef5e9 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMMachineExtension_DeleteViaIdentity.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMMachineExtension_DeleteViaIdentity.cs @@ -41,15 +41,6 @@ public partial class RemoveAzStackHCIVMMachineExtension_DeleteViaIdentity : glob /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -219,11 +210,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.RemoveAzStackHCIVMM /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -559,7 +545,7 @@ protected override void StopProcessing() return ; } // onNoContent - response for 204 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } @@ -583,7 +569,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMMachineExtension_DeleteViaIdentityMachine.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMMachineExtension_DeleteViaIdentityMachine.cs index b68cb0ccac46..a32deec6dc3b 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMMachineExtension_DeleteViaIdentityMachine.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMMachineExtension_DeleteViaIdentityMachine.cs @@ -41,15 +41,6 @@ public partial class RemoveAzStackHCIVMMachineExtension_DeleteViaIdentityMachine /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -236,11 +227,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.RemoveAzStackHCIVMM /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -573,7 +559,7 @@ protected override void StopProcessing() return ; } // onNoContent - response for 204 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } @@ -597,7 +583,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMMachine_Delete.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMMachine_Delete.cs index 98b66feeaf7a..da01a48a2261 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMMachine_Delete.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMMachine_Delete.cs @@ -496,7 +496,7 @@ protected override void StopProcessing() return ; } // onNoContent - response for 204 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } @@ -520,7 +520,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMMachine_DeleteViaIdentity.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMMachine_DeleteViaIdentity.cs index 88ffa4b863eb..ba0dcfd7ddb5 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMMachine_DeleteViaIdentity.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMMachine_DeleteViaIdentity.cs @@ -476,7 +476,7 @@ protected override void StopProcessing() return ; } // onNoContent - response for 204 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } @@ -500,7 +500,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMMarketplaceGalleryImage_Delete.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMMarketplaceGalleryImage_Delete.cs index f89eb5e9f8d8..6ad411c29f28 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMMarketplaceGalleryImage_Delete.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMMarketplaceGalleryImage_Delete.cs @@ -41,15 +41,6 @@ public partial class RemoveAzStackHCIVMMarketplaceGalleryImage_Delete : global:: /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -262,11 +253,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.RemoveAzStackHCIVMM /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -578,7 +564,7 @@ protected override void StopProcessing() return ; } // onNoContent - response for 204 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } @@ -602,7 +588,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMMarketplaceGalleryImage_DeleteViaIdentity.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMMarketplaceGalleryImage_DeleteViaIdentity.cs index 3a2fa4042279..9e26a465aa43 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMMarketplaceGalleryImage_DeleteViaIdentity.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMMarketplaceGalleryImage_DeleteViaIdentity.cs @@ -41,15 +41,6 @@ public partial class RemoveAzStackHCIVMMarketplaceGalleryImage_DeleteViaIdentity /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -221,11 +212,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.RemoveAzStackHCIVMM /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -557,7 +543,7 @@ protected override void StopProcessing() return ; } // onNoContent - response for 204 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } @@ -581,7 +567,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMNetworkInterface_Delete.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMNetworkInterface_Delete.cs index 6d433e139974..d2dbb724a416 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMNetworkInterface_Delete.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMNetworkInterface_Delete.cs @@ -41,15 +41,6 @@ public partial class RemoveAzStackHCIVMNetworkInterface_Delete : global::System. /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -262,11 +253,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.RemoveAzStackHCIVMN /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -578,7 +564,7 @@ protected override void StopProcessing() return ; } // onNoContent - response for 204 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } @@ -602,7 +588,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMNetworkInterface_DeleteViaIdentity.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMNetworkInterface_DeleteViaIdentity.cs index 4a1c9c11c739..0524efb36dac 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMNetworkInterface_DeleteViaIdentity.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMNetworkInterface_DeleteViaIdentity.cs @@ -41,15 +41,6 @@ public partial class RemoveAzStackHCIVMNetworkInterface_DeleteViaIdentity : glob /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -219,11 +210,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.RemoveAzStackHCIVMN /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -555,7 +541,7 @@ protected override void StopProcessing() return ; } // onNoContent - response for 204 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } @@ -579,7 +565,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMStoragePath_Delete.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMStoragePath_Delete.cs index e858b9c25132..ee0721d49b7a 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMStoragePath_Delete.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMStoragePath_Delete.cs @@ -41,15 +41,6 @@ public partial class RemoveAzStackHCIVMStoragePath_Delete : global::System.Manag /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -262,11 +253,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.RemoveAzStackHCIVMS /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -578,7 +564,7 @@ protected override void StopProcessing() return ; } // onNoContent - response for 204 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } @@ -602,7 +588,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMStoragePath_DeleteViaIdentity.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMStoragePath_DeleteViaIdentity.cs index 313391bfc148..169b9e75d7ab 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMStoragePath_DeleteViaIdentity.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMStoragePath_DeleteViaIdentity.cs @@ -41,15 +41,6 @@ public partial class RemoveAzStackHCIVMStoragePath_DeleteViaIdentity : global::S /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -219,11 +210,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.RemoveAzStackHCIVMS /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -555,7 +541,7 @@ protected override void StopProcessing() return ; } // onNoContent - response for 204 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } @@ -579,7 +565,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMVirtualHardDisk_Delete.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMVirtualHardDisk_Delete.cs index 5d87f7b5adaa..23ec8257a775 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMVirtualHardDisk_Delete.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMVirtualHardDisk_Delete.cs @@ -41,15 +41,6 @@ public partial class RemoveAzStackHCIVMVirtualHardDisk_Delete : global::System.M /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -262,11 +253,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.RemoveAzStackHCIVMV /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -578,7 +564,7 @@ protected override void StopProcessing() return ; } // onNoContent - response for 204 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } @@ -602,7 +588,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMVirtualHardDisk_DeleteViaIdentity.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMVirtualHardDisk_DeleteViaIdentity.cs index 95235fae4dd0..392a338177eb 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMVirtualHardDisk_DeleteViaIdentity.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMVirtualHardDisk_DeleteViaIdentity.cs @@ -41,15 +41,6 @@ public partial class RemoveAzStackHCIVMVirtualHardDisk_DeleteViaIdentity : globa /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -219,11 +210,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.RemoveAzStackHCIVMV /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -555,7 +541,7 @@ protected override void StopProcessing() return ; } // onNoContent - response for 204 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } @@ -579,7 +565,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMVirtualMachine_Delete.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMVirtualMachine_Delete.cs index f57307bd3ad9..c585a04565e0 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMVirtualMachine_Delete.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RemoveAzStackHCIVMVirtualMachine_Delete.cs @@ -41,15 +41,6 @@ public partial class RemoveAzStackHCIVMVirtualMachine_Delete : global::System.Ma /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -228,11 +219,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.RemoveAzStackHCIVMV /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -544,7 +530,7 @@ protected override void StopProcessing() return ; } // onNoContent - response for 204 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } @@ -568,7 +554,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RestartAzStackHCIVMVirtualMachine_Restart.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RestartAzStackHCIVMVirtualMachine_Restart.cs index fdb28eae752b..4868c73d0c6d 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RestartAzStackHCIVMVirtualMachine_Restart.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/RestartAzStackHCIVMVirtualMachine_Restart.cs @@ -41,15 +41,6 @@ public partial class RestartAzStackHCIVMVirtualMachine_Restart : global::System. /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -213,11 +204,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.RestartAzStackHCIVM /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -533,24 +519,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstance var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMGalleryImage_UpdateExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMGalleryImage_UpdateExpanded.cs index 8a43d2c82928..5b2db7331f51 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMGalleryImage_UpdateExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMGalleryImage_UpdateExpanded.cs @@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a gallery image. Please note some properties can be set only during gallery image creation. + /// The operation to update a gallery image. Please note some properties can be set only during gallery image creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryImages/{galleryImageName}" @@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzStackHCIVMGalleryImage_UpdateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImages))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a gallery image. Please note some properties can be set only during gallery image creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to update a gallery image. Please note some properties can be set only during gallery image creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryImages/{galleryImageName}", ApiVersion = "2024-01-01")] public partial class SetAzStackHCIVMGalleryImage_UpdateExpanded : global::System.Management.Automation.PSCmdlet, @@ -43,18 +43,9 @@ public partial class SetAzStackHCIVMGalleryImage_UpdateExpanded : global::System /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - /// The gallery images resource definition. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImages _galleryImagesBody = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.GalleryImages(); - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -197,8 +188,8 @@ public partial class SetAzStackHCIVMGalleryImage_UpdateExpanded : global::System ReadOnly = false, Description = @"location of the image the gallery image should be created from", SerializedName = @"imagePath", - PossibleTypes = new [] { typeof(string) })] - public string ImagePath { get => _galleryImagesBody.ImagePath ?? null; set => _galleryImagesBody.ImagePath = value; } + PossibleTypes = new [] { typeof(System.Security.SecureString) })] + public System.Security.SecureString ImagePath { get => _galleryImagesBody.ImagePath ?? null; set => _galleryImagesBody.ImagePath = value; } /// Accessor for our copy of the InvocationInfo. public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } @@ -403,11 +394,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.SetAzStackHCIVMGall /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -723,24 +709,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImages var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMGalleryImage_UpdateViaJsonFilePath.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMGalleryImage_UpdateViaJsonFilePath.cs index 0b86533444e8..ab88b5d70163 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMGalleryImage_UpdateViaJsonFilePath.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMGalleryImage_UpdateViaJsonFilePath.cs @@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a gallery image. Please note some properties can be set only during gallery image creation. + /// The operation to update a gallery image. Please note some properties can be set only during gallery image creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryImages/{galleryImageName}" @@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzStackHCIVMGalleryImage_UpdateViaJsonFilePath", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImages))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a gallery image. Please note some properties can be set only during gallery image creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to update a gallery image. Please note some properties can be set only during gallery image creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryImages/{galleryImageName}", ApiVersion = "2024-01-01")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -44,17 +44,8 @@ public partial class SetAzStackHCIVMGalleryImage_UpdateViaJsonFilePath : global: /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - public global::System.String _jsonString; - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -266,11 +257,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.SetAzStackHCIVMGall /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -586,24 +572,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImages var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMGalleryImage_UpdateViaJsonString.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMGalleryImage_UpdateViaJsonString.cs index d93454240fc8..d8d35cc4afe4 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMGalleryImage_UpdateViaJsonString.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMGalleryImage_UpdateViaJsonString.cs @@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a gallery image. Please note some properties can be set only during gallery image creation. + /// The operation to update a gallery image. Please note some properties can be set only during gallery image creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryImages/{galleryImageName}" @@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzStackHCIVMGalleryImage_UpdateViaJsonString", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImages))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a gallery image. Please note some properties can be set only during gallery image creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to update a gallery image. Please note some properties can be set only during gallery image creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryImages/{galleryImageName}", ApiVersion = "2024-01-01")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -44,15 +44,6 @@ public partial class SetAzStackHCIVMGalleryImage_UpdateViaJsonString : global::S /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -264,11 +255,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.SetAzStackHCIVMGall /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -584,24 +570,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImages var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMLogicalNetwork_UpdateExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMLogicalNetwork_UpdateExpanded.cs index 08907dbc9099..d3ba64aed544 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMLogicalNetwork_UpdateExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMLogicalNetwork_UpdateExpanded.cs @@ -11,8 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a logical network. Please note some properties can be set only during logical network - /// creation. + /// The operation to update a logical network. Please note some properties can be set only during logical network creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/logicalNetworks/{logicalNetworkName}" @@ -20,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzStackHCIVMLogicalNetwork_UpdateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworks))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a logical network. Please note some properties can be set only during logical network creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to update a logical network. Please note some properties can be set only during logical network creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/logicalNetworks/{logicalNetworkName}", ApiVersion = "2024-01-01")] public partial class SetAzStackHCIVMLogicalNetwork_UpdateExpanded : global::System.Management.Automation.PSCmdlet, @@ -44,18 +43,9 @@ public partial class SetAzStackHCIVMLogicalNetwork_UpdateExpanded : global::Syst /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - /// The logical network resource definition. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworks _logicalNetworksBody = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.LogicalNetworks(); - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -335,11 +325,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.SetAzStackHCIVMLogi /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -655,24 +640,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworks var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMLogicalNetwork_UpdateViaJsonFilePath.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMLogicalNetwork_UpdateViaJsonFilePath.cs index fa7f5fe6a164..43f4a89e6b3b 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMLogicalNetwork_UpdateViaJsonFilePath.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMLogicalNetwork_UpdateViaJsonFilePath.cs @@ -11,8 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a logical network. Please note some properties can be set only during logical network - /// creation. + /// The operation to update a logical network. Please note some properties can be set only during logical network creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/logicalNetworks/{logicalNetworkName}" @@ -20,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzStackHCIVMLogicalNetwork_UpdateViaJsonFilePath", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworks))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a logical network. Please note some properties can be set only during logical network creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to update a logical network. Please note some properties can be set only during logical network creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/logicalNetworks/{logicalNetworkName}", ApiVersion = "2024-01-01")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -45,17 +44,8 @@ public partial class SetAzStackHCIVMLogicalNetwork_UpdateViaJsonFilePath : globa /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - public global::System.String _jsonString; - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -267,11 +257,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.SetAzStackHCIVMLogi /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -587,24 +572,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworks var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMLogicalNetwork_UpdateViaJsonString.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMLogicalNetwork_UpdateViaJsonString.cs index 1a8e8e912ad7..1e8d2189fad0 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMLogicalNetwork_UpdateViaJsonString.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMLogicalNetwork_UpdateViaJsonString.cs @@ -11,8 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a logical network. Please note some properties can be set only during logical network - /// creation. + /// The operation to update a logical network. Please note some properties can be set only during logical network creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/logicalNetworks/{logicalNetworkName}" @@ -20,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzStackHCIVMLogicalNetwork_UpdateViaJsonString", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworks))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a logical network. Please note some properties can be set only during logical network creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to update a logical network. Please note some properties can be set only during logical network creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/logicalNetworks/{logicalNetworkName}", ApiVersion = "2024-01-01")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -45,15 +44,6 @@ public partial class SetAzStackHCIVMLogicalNetwork_UpdateViaJsonString : global: /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -265,11 +255,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.SetAzStackHCIVMLogi /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -585,24 +570,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworks var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMachineExtension_UpdateExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMachineExtension_UpdateExpanded.cs index c44724210fe9..1723d97947d0 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMachineExtension_UpdateExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMachineExtension_UpdateExpanded.cs @@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Cmdlets; using System; - /// The operation to create or update the extension. + /// The operation to update the extension. /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzStackHCIVMMachineExtension_UpdateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtension))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update the extension.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to update the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2023-03-15-preview")] public partial class SetAzStackHCIVMMachineExtension_UpdateExpanded : global::System.Management.Automation.PSCmdlet, @@ -44,15 +44,6 @@ public partial class SetAzStackHCIVMMachineExtension_UpdateExpanded : global::Sy /// Describes a Machine Extension. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtension _extensionParametersBody = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.MachineExtension(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -476,11 +467,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.SetAzStackHCIVMMach /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -796,24 +782,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtension var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMachineExtension_UpdateViaJsonFilePath.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMachineExtension_UpdateViaJsonFilePath.cs index 469cb1a97512..c2fab402045d 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMachineExtension_UpdateViaJsonFilePath.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMachineExtension_UpdateViaJsonFilePath.cs @@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Cmdlets; using System; - /// The operation to create or update the extension. + /// The operation to update the extension. /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzStackHCIVMMachineExtension_UpdateViaJsonFilePath", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtension))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update the extension.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to update the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2023-03-15-preview")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -42,17 +42,8 @@ public partial class SetAzStackHCIVMMachineExtension_UpdateViaJsonFilePath : glo /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - public global::System.String _jsonString; - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -278,11 +269,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.SetAzStackHCIVMMach /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -598,24 +584,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtension var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMachineExtension_UpdateViaJsonString.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMachineExtension_UpdateViaJsonString.cs index dc3aad67480c..06951d6568df 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMachineExtension_UpdateViaJsonString.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMachineExtension_UpdateViaJsonString.cs @@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Cmdlets; using System; - /// The operation to create or update the extension. + /// The operation to update the extension. /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzStackHCIVMMachineExtension_UpdateViaJsonString", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtension))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update the extension.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to update the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2023-03-15-preview")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -42,15 +42,6 @@ public partial class SetAzStackHCIVMMachineExtension_UpdateViaJsonString : globa /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -276,11 +267,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.SetAzStackHCIVMMach /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -596,24 +582,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtension var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMachine_UpdateExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMachine_UpdateExpanded.cs index 48995318e437..579f798de030 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMachine_UpdateExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMachine_UpdateExpanded.cs @@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a hybrid machine. Please note some properties can be set only during machine creation. + /// The operation to update a hybrid machine. Please note some properties can be set only during machine creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}" @@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzStackHCIVMMachine_UpdateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachine))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a hybrid machine. Please note some properties can be set only during machine creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to update a hybrid machine. Please note some properties can be set only during machine creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}", ApiVersion = "2023-03-15-preview")] public partial class SetAzStackHCIVMMachine_UpdateExpanded : global::System.Management.Automation.PSCmdlet, diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMachine_UpdateViaJsonFilePath.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMachine_UpdateViaJsonFilePath.cs index 6f42389c8e43..e72fac2da94b 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMachine_UpdateViaJsonFilePath.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMachine_UpdateViaJsonFilePath.cs @@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a hybrid machine. Please note some properties can be set only during machine creation. + /// The operation to update a hybrid machine. Please note some properties can be set only during machine creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}" @@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzStackHCIVMMachine_UpdateViaJsonFilePath", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachine))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a hybrid machine. Please note some properties can be set only during machine creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to update a hybrid machine. Please note some properties can be set only during machine creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}", ApiVersion = "2023-03-15-preview")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMachine_UpdateViaJsonString.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMachine_UpdateViaJsonString.cs index cc2428eb1128..2bbb524e77bb 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMachine_UpdateViaJsonString.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMachine_UpdateViaJsonString.cs @@ -11,7 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a hybrid machine. Please note some properties can be set only during machine creation. + /// The operation to update a hybrid machine. Please note some properties can be set only during machine creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}" @@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzStackHCIVMMachine_UpdateViaJsonString", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachine))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a hybrid machine. Please note some properties can be set only during machine creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to update a hybrid machine. Please note some properties can be set only during machine creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}", ApiVersion = "2023-03-15-preview")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMarketplaceGalleryImage_UpdateExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMarketplaceGalleryImage_UpdateExpanded.cs index af08ddcc1160..4c0f3969ccbe 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMarketplaceGalleryImage_UpdateExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMarketplaceGalleryImage_UpdateExpanded.cs @@ -11,8 +11,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a marketplace gallery image. Please note some properties can be set only during marketplace - /// gallery image creation. + /// The operation to update a marketplace gallery image. Please note some properties can be set only during marketplace gallery + /// image creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/{marketplaceGalleryImageName}" @@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzStackHCIVMMarketplaceGalleryImage_UpdateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImages))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a marketplace gallery image. Please note some properties can be set only during marketplace gallery image creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to update a marketplace gallery image. Please note some properties can be set only during marketplace gallery image creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/{marketplaceGalleryImageName}", ApiVersion = "2024-01-01")] public partial class SetAzStackHCIVMMarketplaceGalleryImage_UpdateExpanded : global::System.Management.Automation.PSCmdlet, @@ -44,18 +44,9 @@ public partial class SetAzStackHCIVMMarketplaceGalleryImage_UpdateExpanded : glo /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - /// The marketplace gallery image resource definition. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImages _marketplaceGalleryImagesBody = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.MarketplaceGalleryImages(); - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -395,11 +386,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.SetAzStackHCIVMMark /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -715,24 +701,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImages var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMarketplaceGalleryImage_UpdateViaJsonFilePath.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMarketplaceGalleryImage_UpdateViaJsonFilePath.cs index 52cfc2999223..5369f65f8cf2 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMarketplaceGalleryImage_UpdateViaJsonFilePath.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMarketplaceGalleryImage_UpdateViaJsonFilePath.cs @@ -11,8 +11,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a marketplace gallery image. Please note some properties can be set only during marketplace - /// gallery image creation. + /// The operation to update a marketplace gallery image. Please note some properties can be set only during marketplace gallery + /// image creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/{marketplaceGalleryImageName}" @@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzStackHCIVMMarketplaceGalleryImage_UpdateViaJsonFilePath", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImages))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a marketplace gallery image. Please note some properties can be set only during marketplace gallery image creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to update a marketplace gallery image. Please note some properties can be set only during marketplace gallery image creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/{marketplaceGalleryImageName}", ApiVersion = "2024-01-01")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -45,17 +45,8 @@ public partial class SetAzStackHCIVMMarketplaceGalleryImage_UpdateViaJsonFilePat /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - public global::System.String _jsonString; - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -269,11 +260,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.SetAzStackHCIVMMark /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -589,24 +575,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImages var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMarketplaceGalleryImage_UpdateViaJsonString.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMarketplaceGalleryImage_UpdateViaJsonString.cs index 20f613d89e88..391d138955c0 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMarketplaceGalleryImage_UpdateViaJsonString.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMMarketplaceGalleryImage_UpdateViaJsonString.cs @@ -11,8 +11,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a marketplace gallery image. Please note some properties can be set only during marketplace - /// gallery image creation. + /// The operation to update a marketplace gallery image. Please note some properties can be set only during marketplace gallery + /// image creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/{marketplaceGalleryImageName}" @@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzStackHCIVMMarketplaceGalleryImage_UpdateViaJsonString", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImages))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a marketplace gallery image. Please note some properties can be set only during marketplace gallery image creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to update a marketplace gallery image. Please note some properties can be set only during marketplace gallery image creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/{marketplaceGalleryImageName}", ApiVersion = "2024-01-01")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -45,15 +45,6 @@ public partial class SetAzStackHCIVMMarketplaceGalleryImage_UpdateViaJsonString /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -267,11 +258,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.SetAzStackHCIVMMark /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -587,24 +573,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImages var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMNetworkInterface_UpdateExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMNetworkInterface_UpdateExpanded.cs index 04d22bc887b6..866c8f75a8be 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMNetworkInterface_UpdateExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMNetworkInterface_UpdateExpanded.cs @@ -11,8 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a network interface. Please note some properties can be set only during network interface - /// creation. + /// The operation to update a network interface. Please note some properties can be set only during network interface creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkInterfaces/{networkInterfaceName}" @@ -20,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzStackHCIVMNetworkInterface_UpdateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaces))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a network interface. Please note some properties can be set only during network interface creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to update a network interface. Please note some properties can be set only during network interface creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkInterfaces/{networkInterfaceName}", ApiVersion = "2024-01-01")] public partial class SetAzStackHCIVMNetworkInterface_UpdateExpanded : global::System.Management.Automation.PSCmdlet, @@ -44,18 +43,9 @@ public partial class SetAzStackHCIVMNetworkInterface_UpdateExpanded : global::Sy /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - /// The network interface resource definition. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaces _networkInterfacesBody = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.NetworkInterfaces(); - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -335,11 +325,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.SetAzStackHCIVMNetw /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -655,24 +640,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaces var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMNetworkInterface_UpdateViaJsonFilePath.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMNetworkInterface_UpdateViaJsonFilePath.cs index 4c7388478acd..a00b1b2c290a 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMNetworkInterface_UpdateViaJsonFilePath.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMNetworkInterface_UpdateViaJsonFilePath.cs @@ -11,8 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a network interface. Please note some properties can be set only during network interface - /// creation. + /// The operation to update a network interface. Please note some properties can be set only during network interface creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkInterfaces/{networkInterfaceName}" @@ -20,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzStackHCIVMNetworkInterface_UpdateViaJsonFilePath", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaces))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a network interface. Please note some properties can be set only during network interface creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to update a network interface. Please note some properties can be set only during network interface creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkInterfaces/{networkInterfaceName}", ApiVersion = "2024-01-01")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -45,17 +44,8 @@ public partial class SetAzStackHCIVMNetworkInterface_UpdateViaJsonFilePath : glo /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - public global::System.String _jsonString; - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -267,11 +257,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.SetAzStackHCIVMNetw /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -587,24 +572,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaces var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMNetworkInterface_UpdateViaJsonString.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMNetworkInterface_UpdateViaJsonString.cs index 380d57da1cca..18cc8019716b 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMNetworkInterface_UpdateViaJsonString.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMNetworkInterface_UpdateViaJsonString.cs @@ -11,8 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a network interface. Please note some properties can be set only during network interface - /// creation. + /// The operation to update a network interface. Please note some properties can be set only during network interface creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkInterfaces/{networkInterfaceName}" @@ -20,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzStackHCIVMNetworkInterface_UpdateViaJsonString", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaces))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a network interface. Please note some properties can be set only during network interface creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to update a network interface. Please note some properties can be set only during network interface creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkInterfaces/{networkInterfaceName}", ApiVersion = "2024-01-01")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -45,15 +44,6 @@ public partial class SetAzStackHCIVMNetworkInterface_UpdateViaJsonString : globa /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -265,11 +255,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.SetAzStackHCIVMNetw /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -585,24 +570,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaces var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMStorageContainer_UpdateExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMStorageContainer_UpdateExpanded.cs index 05168a171af7..773dea16a06f 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMStorageContainer_UpdateExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMStorageContainer_UpdateExpanded.cs @@ -11,8 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a storage container. Please note some properties can be set only during storage container - /// creation. + /// The operation to update a storage container. Please note some properties can be set only during storage container creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/storageContainers/{storageContainerName}" @@ -20,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzStackHCIVMStorageContainer_UpdateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainers))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a storage container. Please note some properties can be set only during storage container creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to update a storage container. Please note some properties can be set only during storage container creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/storageContainers/{storageContainerName}", ApiVersion = "2024-01-01")] public partial class SetAzStackHCIVMStorageContainer_UpdateExpanded : global::System.Management.Automation.PSCmdlet, @@ -44,15 +43,6 @@ public partial class SetAzStackHCIVMStorageContainer_UpdateExpanded : global::Sy /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// The storage container resource definition. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainers _storageContainersBody = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.StorageContainers(); @@ -311,11 +301,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.SetAzStackHCIVMStor /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -631,24 +616,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainers var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMStorageContainer_UpdateViaJsonFilePath.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMStorageContainer_UpdateViaJsonFilePath.cs index 4f8283311880..0f4327a50d7c 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMStorageContainer_UpdateViaJsonFilePath.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMStorageContainer_UpdateViaJsonFilePath.cs @@ -11,8 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a storage container. Please note some properties can be set only during storage container - /// creation. + /// The operation to update a storage container. Please note some properties can be set only during storage container creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/storageContainers/{storageContainerName}" @@ -20,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzStackHCIVMStorageContainer_UpdateViaJsonFilePath", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainers))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a storage container. Please note some properties can be set only during storage container creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to update a storage container. Please note some properties can be set only during storage container creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/storageContainers/{storageContainerName}", ApiVersion = "2024-01-01")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -45,17 +44,8 @@ public partial class SetAzStackHCIVMStorageContainer_UpdateViaJsonFilePath : glo /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - public global::System.String _jsonString; - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -267,11 +257,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.SetAzStackHCIVMStor /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -587,24 +572,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainers var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMStorageContainer_UpdateViaJsonString.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMStorageContainer_UpdateViaJsonString.cs index d025959d0052..5428365c4321 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMStorageContainer_UpdateViaJsonString.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMStorageContainer_UpdateViaJsonString.cs @@ -11,8 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a storage container. Please note some properties can be set only during storage container - /// creation. + /// The operation to update a storage container. Please note some properties can be set only during storage container creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/storageContainers/{storageContainerName}" @@ -20,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzStackHCIVMStorageContainer_UpdateViaJsonString", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainers))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a storage container. Please note some properties can be set only during storage container creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to update a storage container. Please note some properties can be set only during storage container creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/storageContainers/{storageContainerName}", ApiVersion = "2024-01-01")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -45,15 +44,6 @@ public partial class SetAzStackHCIVMStorageContainer_UpdateViaJsonString : globa /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -265,11 +255,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.SetAzStackHCIVMStor /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -585,24 +570,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainers var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMVirtualHardDisk_UpdateExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMVirtualHardDisk_UpdateExpanded.cs index dc33dfedde86..b30265a32a0c 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMVirtualHardDisk_UpdateExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMVirtualHardDisk_UpdateExpanded.cs @@ -11,8 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a virtual hard disk. Please note some properties can be set only during virtual hard - /// disk creation. + /// The operation to update a virtual hard disk. Please note some properties can be set only during virtual hard disk creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualHardDisks/{virtualHardDiskName}" @@ -20,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzStackHCIVMVirtualHardDisk_UpdateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDisks))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a virtual hard disk. Please note some properties can be set only during virtual hard disk creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to update a virtual hard disk. Please note some properties can be set only during virtual hard disk creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualHardDisks/{virtualHardDiskName}", ApiVersion = "2024-01-01")] public partial class SetAzStackHCIVMVirtualHardDisk_UpdateExpanded : global::System.Management.Automation.PSCmdlet, @@ -44,15 +43,6 @@ public partial class SetAzStackHCIVMVirtualHardDisk_UpdateExpanded : global::Sys /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// The virtual hard disk resource definition. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDisks _virtualHardDisksBody = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.VirtualHardDisks(); @@ -390,11 +380,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.SetAzStackHCIVMVirt /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -710,24 +695,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDisks var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMVirtualHardDisk_UpdateViaJsonFilePath.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMVirtualHardDisk_UpdateViaJsonFilePath.cs index 69502c9682e1..6987dbbbb929 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMVirtualHardDisk_UpdateViaJsonFilePath.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMVirtualHardDisk_UpdateViaJsonFilePath.cs @@ -11,8 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a virtual hard disk. Please note some properties can be set only during virtual hard - /// disk creation. + /// The operation to update a virtual hard disk. Please note some properties can be set only during virtual hard disk creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualHardDisks/{virtualHardDiskName}" @@ -20,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzStackHCIVMVirtualHardDisk_UpdateViaJsonFilePath", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDisks))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a virtual hard disk. Please note some properties can be set only during virtual hard disk creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to update a virtual hard disk. Please note some properties can be set only during virtual hard disk creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualHardDisks/{virtualHardDiskName}", ApiVersion = "2024-01-01")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -45,17 +44,8 @@ public partial class SetAzStackHCIVMVirtualHardDisk_UpdateViaJsonFilePath : glob /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - public global::System.String _jsonString; - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -267,11 +257,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.SetAzStackHCIVMVirt /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -587,24 +572,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDisks var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMVirtualHardDisk_UpdateViaJsonString.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMVirtualHardDisk_UpdateViaJsonString.cs index 8a4075c0cbc1..052f6b4c6c43 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMVirtualHardDisk_UpdateViaJsonString.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMVirtualHardDisk_UpdateViaJsonString.cs @@ -11,8 +11,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a virtual hard disk. Please note some properties can be set only during virtual hard - /// disk creation. + /// The operation to update a virtual hard disk. Please note some properties can be set only during virtual hard disk creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualHardDisks/{virtualHardDiskName}" @@ -20,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzStackHCIVMVirtualHardDisk_UpdateViaJsonString", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDisks))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a virtual hard disk. Please note some properties can be set only during virtual hard disk creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to update a virtual hard disk. Please note some properties can be set only during virtual hard disk creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualHardDisks/{virtualHardDiskName}", ApiVersion = "2024-01-01")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -45,15 +44,6 @@ public partial class SetAzStackHCIVMVirtualHardDisk_UpdateViaJsonString : global /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -265,11 +255,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.SetAzStackHCIVMVirt /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -585,24 +570,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDisks var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMVirtualMachineInstance_UpdateExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMVirtualMachineInstance_UpdateExpanded.cs index 6f8fbb5fd538..b10305876b6d 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMVirtualMachineInstance_UpdateExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMVirtualMachineInstance_UpdateExpanded.cs @@ -11,8 +11,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a virtual machine instance. Please note some properties can be set only during virtual - /// machine instance creation. + /// The operation to update a virtual machine instance. Please note some properties can be set only during virtual machine + /// instance creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default" @@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzStackHCIVMVirtualMachineInstance_UpdateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstance))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a virtual machine instance. Please note some properties can be set only during virtual machine instance creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to update a virtual machine instance. Please note some properties can be set only during virtual machine instance creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default", ApiVersion = "2024-01-01")] public partial class SetAzStackHCIVMVirtualMachineInstance_UpdateExpanded : global::System.Management.Automation.PSCmdlet, @@ -44,15 +44,6 @@ public partial class SetAzStackHCIVMVirtualMachineInstance_UpdateExpanded : glob /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// The virtual machine instance resource definition. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstance _virtualMachineInstanceBody = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.VirtualMachineInstance(); @@ -378,8 +369,8 @@ public partial class SetAzStackHCIVMVirtualMachineInstance_UpdateExpanded : glob ReadOnly = false, Description = @"AdminPassword - admin password", SerializedName = @"adminPassword", - PossibleTypes = new [] { typeof(string) })] - public string OSProfileAdminPassword { get => _virtualMachineInstanceBody.OSProfileAdminPassword ?? null; set => _virtualMachineInstanceBody.OSProfileAdminPassword = value; } + PossibleTypes = new [] { typeof(System.Security.SecureString) })] + public System.Security.SecureString OSProfileAdminPassword { get => _virtualMachineInstanceBody.OSProfileAdminPassword ?? null; set => _virtualMachineInstanceBody.OSProfileAdminPassword = value; } /// AdminUsername - admin username [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "AdminUsername - admin username")] @@ -641,11 +632,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.SetAzStackHCIVMVirt /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -961,24 +947,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstance var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMVirtualMachineInstance_UpdateViaJsonFilePath.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMVirtualMachineInstance_UpdateViaJsonFilePath.cs index 1cc2e8535715..72b6d593b189 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMVirtualMachineInstance_UpdateViaJsonFilePath.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMVirtualMachineInstance_UpdateViaJsonFilePath.cs @@ -11,8 +11,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a virtual machine instance. Please note some properties can be set only during virtual - /// machine instance creation. + /// The operation to update a virtual machine instance. Please note some properties can be set only during virtual machine + /// instance creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default" @@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzStackHCIVMVirtualMachineInstance_UpdateViaJsonFilePath", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstance))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a virtual machine instance. Please note some properties can be set only during virtual machine instance creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to update a virtual machine instance. Please note some properties can be set only during virtual machine instance creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default", ApiVersion = "2024-01-01")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -45,17 +45,8 @@ public partial class SetAzStackHCIVMVirtualMachineInstance_UpdateViaJsonFilePath /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - public global::System.String _jsonString; - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -235,11 +226,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.SetAzStackHCIVMVirt /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -555,24 +541,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstance var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMVirtualMachineInstance_UpdateViaJsonString.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMVirtualMachineInstance_UpdateViaJsonString.cs index f3ff75d130f2..e8b7cb9abfba 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMVirtualMachineInstance_UpdateViaJsonString.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/SetAzStackHCIVMVirtualMachineInstance_UpdateViaJsonString.cs @@ -11,8 +11,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using System; /// - /// The operation to create or update a virtual machine instance. Please note some properties can be set only during virtual - /// machine instance creation. + /// The operation to update a virtual machine instance. Please note some properties can be set only during virtual machine + /// instance creation. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default" @@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzStackHCIVMVirtualMachineInstance_UpdateViaJsonString", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstance))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update a virtual machine instance. Please note some properties can be set only during virtual machine instance creation.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to update a virtual machine instance. Please note some properties can be set only during virtual machine instance creation.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default", ApiVersion = "2024-01-01")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -45,15 +45,6 @@ public partial class SetAzStackHCIVMVirtualMachineInstance_UpdateViaJsonString : /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -233,11 +224,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.SetAzStackHCIVMVirt /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -553,24 +539,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstance var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/StartAzStackHCIVMVirtualMachine_Start.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/StartAzStackHCIVMVirtualMachine_Start.cs index c60941d33a0d..81f967a73362 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/StartAzStackHCIVMVirtualMachine_Start.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/StartAzStackHCIVMVirtualMachine_Start.cs @@ -41,15 +41,6 @@ public partial class StartAzStackHCIVMVirtualMachine_Start : global::System.Mana /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -213,11 +204,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.StartAzStackHCIVMVi /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -533,24 +519,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstance var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/StopAzStackHCIVMVirtualMachine_Stop.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/StopAzStackHCIVMVirtualMachine_Stop.cs index bf63674c027d..29ed0c59be05 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/StopAzStackHCIVMVirtualMachine_Stop.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/StopAzStackHCIVMVirtualMachine_Stop.cs @@ -41,15 +41,6 @@ public partial class StopAzStackHCIVMVirtualMachine_Stop : global::System.Manage /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -213,11 +204,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.StopAzStackHCIVMVir /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -533,24 +519,7 @@ protected override void StopProcessing() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstance var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMExtension_Upgrade.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMExtension_Upgrade.cs index b6eea9e12639..7ede1b32b463 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMExtension_Upgrade.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMExtension_Upgrade.cs @@ -41,15 +41,6 @@ public partial class UpdateAzStackHCIVMExtension_Upgrade : global::System.Manage /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -266,11 +257,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVME /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -582,7 +568,7 @@ public UpdateAzStackHCIVMExtension_Upgrade() return ; } // onOk - response for 200 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMExtension_UpgradeExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMExtension_UpgradeExpanded.cs index 43fe8153e31a..31ef71970950 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMExtension_UpgradeExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMExtension_UpgradeExpanded.cs @@ -44,15 +44,6 @@ public partial class UpdateAzStackHCIVMExtension_UpgradeExpanded : global::Syste /// Describes the Machine Extension Upgrade Properties. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionUpgrade _extensionUpgradeParametersBody = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.MachineExtensionUpgrade(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -267,11 +258,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVME /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -583,7 +569,7 @@ public UpdateAzStackHCIVMExtension_UpgradeExpanded() return ; } // onOk - response for 200 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMExtension_UpgradeViaIdentity.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMExtension_UpgradeViaIdentity.cs index b05eaac7febc..b16cace35297 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMExtension_UpgradeViaIdentity.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMExtension_UpgradeViaIdentity.cs @@ -41,15 +41,6 @@ public partial class UpdateAzStackHCIVMExtension_UpgradeViaIdentity : global::Sy /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -224,11 +215,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVME /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -560,7 +546,7 @@ public UpdateAzStackHCIVMExtension_UpgradeViaIdentity() return ; } // onOk - response for 200 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMExtension_UpgradeViaIdentityExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMExtension_UpgradeViaIdentityExpanded.cs index 9c8538bcdafe..0226da789c55 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMExtension_UpgradeViaIdentityExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMExtension_UpgradeViaIdentityExpanded.cs @@ -44,15 +44,6 @@ public partial class UpdateAzStackHCIVMExtension_UpgradeViaIdentityExpanded : gl /// Describes the Machine Extension Upgrade Properties. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionUpgrade _extensionUpgradeParametersBody = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.MachineExtensionUpgrade(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -225,11 +216,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVME /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -561,7 +547,7 @@ public UpdateAzStackHCIVMExtension_UpgradeViaIdentityExpanded() return ; } // onOk - response for 200 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMExtension_UpgradeViaJsonFilePath.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMExtension_UpgradeViaJsonFilePath.cs index c5f829f95dfb..57ec69a68ea4 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMExtension_UpgradeViaJsonFilePath.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMExtension_UpgradeViaJsonFilePath.cs @@ -42,17 +42,8 @@ public partial class UpdateAzStackHCIVMExtension_UpgradeViaJsonFilePath : global /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - public global::System.String _jsonString; - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -268,11 +259,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVME /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -584,7 +570,7 @@ public UpdateAzStackHCIVMExtension_UpgradeViaJsonFilePath() return ; } // onOk - response for 200 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMExtension_UpgradeViaJsonString.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMExtension_UpgradeViaJsonString.cs index 183a1fbc8082..ba1ae776bdf4 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMExtension_UpgradeViaJsonString.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMExtension_UpgradeViaJsonString.cs @@ -42,15 +42,6 @@ public partial class UpdateAzStackHCIVMExtension_UpgradeViaJsonString : global:: /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -266,11 +257,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVME /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -582,7 +568,7 @@ public UpdateAzStackHCIVMExtension_UpgradeViaJsonString() return ; } // onOk - response for 200 / - if (true == MyInvocation?.BoundParameters?.ContainsKey("PassThru")) + if (true == InvocationInformation?.BoundParameters?.ContainsKey("PassThru")) { WriteObject(true); } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMGalleryImage_UpdateExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMGalleryImage_UpdateExpanded.cs index b117201f6ce9..d085381eb580 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMGalleryImage_UpdateExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMGalleryImage_UpdateExpanded.cs @@ -41,18 +41,9 @@ public partial class UpdateAzStackHCIVMGalleryImage_UpdateExpanded : global::Sys /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - /// The gallery images resource patch definition. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesUpdateRequest _galleryImagesBody = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.GalleryImagesUpdateRequest(); - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -263,11 +254,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVMG /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -583,24 +569,7 @@ public UpdateAzStackHCIVMGalleryImage_UpdateExpanded() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImages var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMGalleryImage_UpdateViaIdentityExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMGalleryImage_UpdateViaIdentityExpanded.cs index 19e7dc7c0210..c8cce438e0a0 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMGalleryImage_UpdateViaIdentityExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMGalleryImage_UpdateViaIdentityExpanded.cs @@ -41,18 +41,9 @@ public partial class UpdateAzStackHCIVMGalleryImage_UpdateViaIdentityExpanded : /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - /// The gallery images resource patch definition. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImagesUpdateRequest _galleryImagesBody = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.GalleryImagesUpdateRequest(); - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -222,11 +213,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVMG /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -562,24 +548,7 @@ public UpdateAzStackHCIVMGalleryImage_UpdateViaIdentityExpanded() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImages var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMGalleryImage_UpdateViaJsonFilePath.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMGalleryImage_UpdateViaJsonFilePath.cs index f15daa1530d5..d4c248bd590f 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMGalleryImage_UpdateViaJsonFilePath.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMGalleryImage_UpdateViaJsonFilePath.cs @@ -42,17 +42,8 @@ public partial class UpdateAzStackHCIVMGalleryImage_UpdateViaJsonFilePath : glob /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - public global::System.String _jsonString; - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -264,11 +255,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVMG /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -584,24 +570,7 @@ public UpdateAzStackHCIVMGalleryImage_UpdateViaJsonFilePath() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImages var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMGalleryImage_UpdateViaJsonString.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMGalleryImage_UpdateViaJsonString.cs index ae5ba7d07375..09daf6f0b970 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMGalleryImage_UpdateViaJsonString.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMGalleryImage_UpdateViaJsonString.cs @@ -42,15 +42,6 @@ public partial class UpdateAzStackHCIVMGalleryImage_UpdateViaJsonString : global /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -262,11 +253,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVMG /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -582,24 +568,7 @@ public UpdateAzStackHCIVMGalleryImage_UpdateViaJsonString() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImages var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMGuestAgent_UpdateExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMGuestAgent_UpdateExpanded.cs index 8f61f119b894..c8635d967dc6 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMGuestAgent_UpdateExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMGuestAgent_UpdateExpanded.cs @@ -10,7 +10,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Cmdlets; using System; - /// Update GuestAgent. + /// update GuestAgent. /// /// [OpenAPI] Get=>GET:"/{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default/guestAgents/default" /// [OpenAPI] Create=>PUT:"/{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default/guestAgents/default" @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzStackHCIVMGuestAgent_UpdateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgent))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"Update GuestAgent.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"update GuestAgent.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] public partial class UpdateAzStackHCIVMGuestAgent_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.IEventListener, @@ -44,15 +44,6 @@ public partial class UpdateAzStackHCIVMGuestAgent_UpdateExpanded : global::Syste /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -251,11 +242,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVMG /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -589,24 +575,7 @@ private void Update_body() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgent var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMLogicalNetwork_UpdateExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMLogicalNetwork_UpdateExpanded.cs index e6248983a54b..a425220e73ec 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMLogicalNetwork_UpdateExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMLogicalNetwork_UpdateExpanded.cs @@ -40,18 +40,9 @@ public partial class UpdateAzStackHCIVMLogicalNetwork_UpdateExpanded : global::S /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - /// The logical network resource patch definition. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworksUpdateRequest _logicalNetworksBody = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.LogicalNetworksUpdateRequest(); - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -262,11 +253,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVML /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -582,24 +568,7 @@ public UpdateAzStackHCIVMLogicalNetwork_UpdateExpanded() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworks var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMLogicalNetwork_UpdateViaIdentityExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMLogicalNetwork_UpdateViaIdentityExpanded.cs index 71774fabcad2..11ab2dc33765 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMLogicalNetwork_UpdateViaIdentityExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMLogicalNetwork_UpdateViaIdentityExpanded.cs @@ -40,18 +40,9 @@ public partial class UpdateAzStackHCIVMLogicalNetwork_UpdateViaIdentityExpanded /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - /// The logical network resource patch definition. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworksUpdateRequest _logicalNetworksBody = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.LogicalNetworksUpdateRequest(); - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -221,11 +212,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVML /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -561,24 +547,7 @@ public UpdateAzStackHCIVMLogicalNetwork_UpdateViaIdentityExpanded() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworks var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMLogicalNetwork_UpdateViaJsonFilePath.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMLogicalNetwork_UpdateViaJsonFilePath.cs index 2e297c53f338..f6630c1f8e68 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMLogicalNetwork_UpdateViaJsonFilePath.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMLogicalNetwork_UpdateViaJsonFilePath.cs @@ -41,17 +41,8 @@ public partial class UpdateAzStackHCIVMLogicalNetwork_UpdateViaJsonFilePath : gl /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - public global::System.String _jsonString; - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -263,11 +254,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVML /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -583,24 +569,7 @@ public UpdateAzStackHCIVMLogicalNetwork_UpdateViaJsonFilePath() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworks var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMLogicalNetwork_UpdateViaJsonString.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMLogicalNetwork_UpdateViaJsonString.cs index 7f9783f619c5..b367de361396 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMLogicalNetwork_UpdateViaJsonString.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMLogicalNetwork_UpdateViaJsonString.cs @@ -41,15 +41,6 @@ public partial class UpdateAzStackHCIVMLogicalNetwork_UpdateViaJsonString : glob /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -261,11 +252,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVML /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -581,24 +567,7 @@ public UpdateAzStackHCIVMLogicalNetwork_UpdateViaJsonString() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworks var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMachineExtension_UpdateExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMachineExtension_UpdateExpanded.cs index 217306086724..d0fa5820a47e 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMachineExtension_UpdateExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMachineExtension_UpdateExpanded.cs @@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Cmdlets; using System; - /// The operation to create or update the extension. + /// The operation to update the extension. /// /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzStackHCIVMMachineExtension_UpdateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtension))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update the extension.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to update the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2023-03-15-preview")] public partial class UpdateAzStackHCIVMMachineExtension_UpdateExpanded : global::System.Management.Automation.PSCmdlet, @@ -44,15 +44,6 @@ public partial class UpdateAzStackHCIVMMachineExtension_UpdateExpanded : global: /// Describes a Machine Extension Update. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionUpdate _extensionParametersBody = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.MachineExtensionUpdate(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -376,11 +367,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVMM /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -696,24 +682,7 @@ public UpdateAzStackHCIVMMachineExtension_UpdateExpanded() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtension var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMachineExtension_UpdateViaIdentityExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMachineExtension_UpdateViaIdentityExpanded.cs index 6645b558f11d..5e134282a13b 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMachineExtension_UpdateViaIdentityExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMachineExtension_UpdateViaIdentityExpanded.cs @@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Cmdlets; using System; - /// The operation to create or update the extension. + /// The operation to update the extension. /// /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzStackHCIVMMachineExtension_UpdateViaIdentityExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtension))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update the extension.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to update the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2023-03-15-preview")] public partial class UpdateAzStackHCIVMMachineExtension_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, @@ -44,15 +44,6 @@ public partial class UpdateAzStackHCIVMMachineExtension_UpdateViaIdentityExpande /// Describes a Machine Extension Update. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionUpdate _extensionParametersBody = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.MachineExtensionUpdate(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -321,11 +312,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVMM /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -665,24 +651,7 @@ public UpdateAzStackHCIVMMachineExtension_UpdateViaIdentityExpanded() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtension var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMachineExtension_UpdateViaIdentityMachine.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMachineExtension_UpdateViaIdentityMachine.cs index fe3d2e73b59a..bb1c3fd7169e 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMachineExtension_UpdateViaIdentityMachine.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMachineExtension_UpdateViaIdentityMachine.cs @@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Cmdlets; using System; - /// The operation to create or update the extension. + /// The operation to update the extension. /// /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzStackHCIVMMachineExtension_UpdateViaIdentityMachine", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtension))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update the extension.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to update the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2023-03-15-preview")] public partial class UpdateAzStackHCIVMMachineExtension_UpdateViaIdentityMachine : global::System.Management.Automation.PSCmdlet, @@ -41,15 +41,6 @@ public partial class UpdateAzStackHCIVMMachineExtension_UpdateViaIdentityMachine /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -236,11 +227,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVMM /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -577,24 +563,7 @@ public UpdateAzStackHCIVMMachineExtension_UpdateViaIdentityMachine() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtension var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMachineExtension_UpdateViaIdentityMachineExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMachineExtension_UpdateViaIdentityMachineExpanded.cs index 8d3231376227..7221a9aca67c 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMachineExtension_UpdateViaIdentityMachineExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMachineExtension_UpdateViaIdentityMachineExpanded.cs @@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Cmdlets; using System; - /// The operation to create or update the extension. + /// The operation to update the extension. /// /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzStackHCIVMMachineExtension_UpdateViaIdentityMachineExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtension))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update the extension.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to update the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2023-03-15-preview")] public partial class UpdateAzStackHCIVMMachineExtension_UpdateViaIdentityMachineExpanded : global::System.Management.Automation.PSCmdlet, @@ -44,15 +44,6 @@ public partial class UpdateAzStackHCIVMMachineExtension_UpdateViaIdentityMachine /// Describes a Machine Extension Update. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtensionUpdate _extensionParametersBody = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.MachineExtensionUpdate(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -336,11 +327,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVMM /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -678,24 +664,7 @@ public UpdateAzStackHCIVMMachineExtension_UpdateViaIdentityMachineExpanded() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtension var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMachineExtension_UpdateViaJsonFilePath.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMachineExtension_UpdateViaJsonFilePath.cs index f2e0714e0045..d9a155ae37af 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMachineExtension_UpdateViaJsonFilePath.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMachineExtension_UpdateViaJsonFilePath.cs @@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Cmdlets; using System; - /// The operation to create or update the extension. + /// The operation to update the extension. /// /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzStackHCIVMMachineExtension_UpdateViaJsonFilePath", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtension))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update the extension.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to update the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2023-03-15-preview")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -42,17 +42,8 @@ public partial class UpdateAzStackHCIVMMachineExtension_UpdateViaJsonFilePath : /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - public global::System.String _jsonString; - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -280,11 +271,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVMM /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -600,24 +586,7 @@ public UpdateAzStackHCIVMMachineExtension_UpdateViaJsonFilePath() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtension var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMachineExtension_UpdateViaJsonString.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMachineExtension_UpdateViaJsonString.cs index ca8f4416fea3..2d7166d06624 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMachineExtension_UpdateViaJsonString.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMachineExtension_UpdateViaJsonString.cs @@ -10,14 +10,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets using Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.Cmdlets; using System; - /// The operation to create or update the extension. + /// The operation to update the extension. /// /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzStackHCIVMMachineExtension_UpdateViaJsonString", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtension))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to create or update the extension.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Description(@"The operation to update the extension.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Generated] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}", ApiVersion = "2023-03-15-preview")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.NotSuggestDefaultParameterSet] @@ -42,15 +42,6 @@ public partial class UpdateAzStackHCIVMMachineExtension_UpdateViaJsonString : gl /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -276,11 +267,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVMM /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -596,24 +582,7 @@ public UpdateAzStackHCIVMMachineExtension_UpdateViaJsonString() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMachineExtension var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMarketplaceGalleryImage_UpdateExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMarketplaceGalleryImage_UpdateExpanded.cs index c1b8912c3837..1450273ae798 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMarketplaceGalleryImage_UpdateExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMarketplaceGalleryImage_UpdateExpanded.cs @@ -41,18 +41,9 @@ public partial class UpdateAzStackHCIVMMarketplaceGalleryImage_UpdateExpanded : /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - /// The marketplace gallery image resource patch definition. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagesUpdateRequest _marketplaceGalleryImagesBody = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.MarketplaceGalleryImagesUpdateRequest(); - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -265,11 +256,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVMM /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -585,24 +571,7 @@ public UpdateAzStackHCIVMMarketplaceGalleryImage_UpdateExpanded() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImages var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMarketplaceGalleryImage_UpdateViaIdentityExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMarketplaceGalleryImage_UpdateViaIdentityExpanded.cs index f37790de2c5d..fe78cf8454d9 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMarketplaceGalleryImage_UpdateViaIdentityExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMarketplaceGalleryImage_UpdateViaIdentityExpanded.cs @@ -41,18 +41,9 @@ public partial class UpdateAzStackHCIVMMarketplaceGalleryImage_UpdateViaIdentity /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - /// The marketplace gallery image resource patch definition. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImagesUpdateRequest _marketplaceGalleryImagesBody = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.MarketplaceGalleryImagesUpdateRequest(); - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -222,11 +213,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVMM /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -563,24 +549,7 @@ public UpdateAzStackHCIVMMarketplaceGalleryImage_UpdateViaIdentityExpanded() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImages var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMarketplaceGalleryImage_UpdateViaJsonFilePath.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMarketplaceGalleryImage_UpdateViaJsonFilePath.cs index feef9c811213..92b0a1f18347 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMarketplaceGalleryImage_UpdateViaJsonFilePath.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMarketplaceGalleryImage_UpdateViaJsonFilePath.cs @@ -42,17 +42,8 @@ public partial class UpdateAzStackHCIVMMarketplaceGalleryImage_UpdateViaJsonFile /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - public global::System.String _jsonString; - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -266,11 +257,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVMM /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -587,24 +573,7 @@ public UpdateAzStackHCIVMMarketplaceGalleryImage_UpdateViaJsonFilePath() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImages var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMarketplaceGalleryImage_UpdateViaJsonString.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMarketplaceGalleryImage_UpdateViaJsonString.cs index 0fad9e00a44f..50cf144b8ad3 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMarketplaceGalleryImage_UpdateViaJsonString.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMMarketplaceGalleryImage_UpdateViaJsonString.cs @@ -42,15 +42,6 @@ public partial class UpdateAzStackHCIVMMarketplaceGalleryImage_UpdateViaJsonStri /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -264,11 +255,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVMM /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -585,24 +571,7 @@ public UpdateAzStackHCIVMMarketplaceGalleryImage_UpdateViaJsonString() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IMarketplaceGalleryImages var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMNetworkInterface_UpdateExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMNetworkInterface_UpdateExpanded.cs index 9f24da0a824f..d2f26358c06c 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMNetworkInterface_UpdateExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMNetworkInterface_UpdateExpanded.cs @@ -40,18 +40,9 @@ public partial class UpdateAzStackHCIVMNetworkInterface_UpdateExpanded : global: /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - /// The network interface resource patch definition. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacesUpdateRequest _networkInterfacesBody = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.NetworkInterfacesUpdateRequest(); - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -262,11 +253,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVMN /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -582,24 +568,7 @@ public UpdateAzStackHCIVMNetworkInterface_UpdateExpanded() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaces var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMNetworkInterface_UpdateViaIdentityExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMNetworkInterface_UpdateViaIdentityExpanded.cs index 335dcff4c6a1..0c15c683719a 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMNetworkInterface_UpdateViaIdentityExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMNetworkInterface_UpdateViaIdentityExpanded.cs @@ -40,18 +40,9 @@ public partial class UpdateAzStackHCIVMNetworkInterface_UpdateViaIdentityExpande /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - /// The network interface resource patch definition. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfacesUpdateRequest _networkInterfacesBody = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.NetworkInterfacesUpdateRequest(); - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -221,11 +212,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVMN /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -561,24 +547,7 @@ public UpdateAzStackHCIVMNetworkInterface_UpdateViaIdentityExpanded() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaces var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMNetworkInterface_UpdateViaJsonFilePath.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMNetworkInterface_UpdateViaJsonFilePath.cs index 70915d7839c5..8fbbce997ac0 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMNetworkInterface_UpdateViaJsonFilePath.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMNetworkInterface_UpdateViaJsonFilePath.cs @@ -41,17 +41,8 @@ public partial class UpdateAzStackHCIVMNetworkInterface_UpdateViaJsonFilePath : /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - public global::System.String _jsonString; - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -265,11 +256,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVMN /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -585,24 +571,7 @@ public UpdateAzStackHCIVMNetworkInterface_UpdateViaJsonFilePath() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaces var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMNetworkInterface_UpdateViaJsonString.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMNetworkInterface_UpdateViaJsonString.cs index b099f50123f9..ffb05f051124 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMNetworkInterface_UpdateViaJsonString.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMNetworkInterface_UpdateViaJsonString.cs @@ -41,15 +41,6 @@ public partial class UpdateAzStackHCIVMNetworkInterface_UpdateViaJsonString : gl /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -261,11 +252,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVMN /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -581,24 +567,7 @@ public UpdateAzStackHCIVMNetworkInterface_UpdateViaJsonString() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.INetworkInterfaces var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMStoragePath_UpdateExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMStoragePath_UpdateExpanded.cs index 913eeb8a6f91..531ec17ea819 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMStoragePath_UpdateExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMStoragePath_UpdateExpanded.cs @@ -40,15 +40,6 @@ public partial class UpdateAzStackHCIVMStoragePath_UpdateExpanded : global::Syst /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// The storage container resource patch definition. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainersUpdateRequest _storageContainersBody = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.StorageContainersUpdateRequest(); @@ -262,11 +253,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVMS /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -582,24 +568,7 @@ public UpdateAzStackHCIVMStoragePath_UpdateExpanded() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainers var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMStoragePath_UpdateViaIdentityExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMStoragePath_UpdateViaIdentityExpanded.cs index 8e6469984b2b..0360cf1cbf35 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMStoragePath_UpdateViaIdentityExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMStoragePath_UpdateViaIdentityExpanded.cs @@ -40,15 +40,6 @@ public partial class UpdateAzStackHCIVMStoragePath_UpdateViaIdentityExpanded : g /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// The storage container resource patch definition. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainersUpdateRequest _storageContainersBody = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.StorageContainersUpdateRequest(); @@ -219,11 +210,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVMS /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -559,24 +545,7 @@ public UpdateAzStackHCIVMStoragePath_UpdateViaIdentityExpanded() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainers var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMStoragePath_UpdateViaJsonFilePath.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMStoragePath_UpdateViaJsonFilePath.cs index 290f20ba2d42..78df3a818327 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMStoragePath_UpdateViaJsonFilePath.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMStoragePath_UpdateViaJsonFilePath.cs @@ -41,17 +41,8 @@ public partial class UpdateAzStackHCIVMStoragePath_UpdateViaJsonFilePath : globa /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - public global::System.String _jsonString; - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -263,11 +254,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVMS /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -583,24 +569,7 @@ public UpdateAzStackHCIVMStoragePath_UpdateViaJsonFilePath() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainers var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMStoragePath_UpdateViaJsonString.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMStoragePath_UpdateViaJsonString.cs index c2d3e2e65717..0be7a22db3a4 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMStoragePath_UpdateViaJsonString.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMStoragePath_UpdateViaJsonString.cs @@ -41,15 +41,6 @@ public partial class UpdateAzStackHCIVMStoragePath_UpdateViaJsonString : global: /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -261,11 +252,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVMS /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -581,24 +567,7 @@ public UpdateAzStackHCIVMStoragePath_UpdateViaJsonString() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IStorageContainers var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMVirtualHardDisk_UpdateExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMVirtualHardDisk_UpdateExpanded.cs index a81dfa42856f..bded4d12495f 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMVirtualHardDisk_UpdateExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMVirtualHardDisk_UpdateExpanded.cs @@ -40,15 +40,6 @@ public partial class UpdateAzStackHCIVMVirtualHardDisk_UpdateExpanded : global:: /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// The virtual hard disk resource patch definition. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDisksUpdateRequest _virtualHardDisksBody = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.VirtualHardDisksUpdateRequest(); @@ -262,11 +253,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVMV /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -582,24 +568,7 @@ public UpdateAzStackHCIVMVirtualHardDisk_UpdateExpanded() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDisks var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMVirtualHardDisk_UpdateViaIdentityExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMVirtualHardDisk_UpdateViaIdentityExpanded.cs index cdbac1950625..94e216963784 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMVirtualHardDisk_UpdateViaIdentityExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMVirtualHardDisk_UpdateViaIdentityExpanded.cs @@ -40,15 +40,6 @@ public partial class UpdateAzStackHCIVMVirtualHardDisk_UpdateViaIdentityExpanded /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// The virtual hard disk resource patch definition. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDisksUpdateRequest _virtualHardDisksBody = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.VirtualHardDisksUpdateRequest(); @@ -221,11 +212,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVMV /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -561,24 +547,7 @@ public UpdateAzStackHCIVMVirtualHardDisk_UpdateViaIdentityExpanded() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDisks var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMVirtualHardDisk_UpdateViaJsonFilePath.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMVirtualHardDisk_UpdateViaJsonFilePath.cs index 90bdea525d4a..6e3aed73b75f 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMVirtualHardDisk_UpdateViaJsonFilePath.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMVirtualHardDisk_UpdateViaJsonFilePath.cs @@ -41,17 +41,8 @@ public partial class UpdateAzStackHCIVMVirtualHardDisk_UpdateViaJsonFilePath : g /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - public global::System.String _jsonString; - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -263,11 +254,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVMV /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -583,24 +569,7 @@ public UpdateAzStackHCIVMVirtualHardDisk_UpdateViaJsonFilePath() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDisks var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMVirtualHardDisk_UpdateViaJsonString.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMVirtualHardDisk_UpdateViaJsonString.cs index 2d17e75ec491..95e13d62c1d2 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMVirtualHardDisk_UpdateViaJsonString.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMVirtualHardDisk_UpdateViaJsonString.cs @@ -41,15 +41,6 @@ public partial class UpdateAzStackHCIVMVirtualHardDisk_UpdateViaJsonString : glo /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -261,11 +252,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVMV /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -581,24 +567,7 @@ public UpdateAzStackHCIVMVirtualHardDisk_UpdateViaJsonString() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualHardDisks var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMVirtualMachine_UpdateExpanded.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMVirtualMachine_UpdateExpanded.cs index 63a8d0c04648..10751fc0beb2 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMVirtualMachine_UpdateExpanded.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMVirtualMachine_UpdateExpanded.cs @@ -41,15 +41,6 @@ public partial class UpdateAzStackHCIVMVirtualMachine_UpdateExpanded : global::S /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// The virtual machine instance resource patch definition. private Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceUpdateRequest _virtualMachineInstanceBody = new Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.VirtualMachineInstanceUpdateRequest(); @@ -354,11 +345,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVMV /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -674,24 +660,7 @@ public UpdateAzStackHCIVMVirtualMachine_UpdateExpanded() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstance var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMVirtualMachine_UpdateViaJsonFilePath.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMVirtualMachine_UpdateViaJsonFilePath.cs index 64ad315d4fd5..e495f021ee65 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMVirtualMachine_UpdateViaJsonFilePath.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMVirtualMachine_UpdateViaJsonFilePath.cs @@ -42,17 +42,8 @@ public partial class UpdateAzStackHCIVMVirtualMachine_UpdateViaJsonFilePath : gl /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - public global::System.String _jsonString; - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -230,11 +221,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVMV /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -550,24 +536,7 @@ public UpdateAzStackHCIVMVirtualMachine_UpdateViaJsonFilePath() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstance var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMVirtualMachine_UpdateViaJsonString.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMVirtualMachine_UpdateViaJsonString.cs index 8d8cf698a388..188c5aa7932d 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMVirtualMachine_UpdateViaJsonString.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/cmdlets/UpdateAzStackHCIVMVirtualMachine_UpdateViaJsonString.cs @@ -42,15 +42,6 @@ public partial class UpdateAzStackHCIVMVirtualMachine_UpdateViaJsonString : glob /// A dictionary to carry over additional data for pipeline. private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); - /// A buffer to record first returned object in response. - private object _firstResponse = null; - - /// - /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. - /// Two means multiple returned objects in response. - /// - private int _responseSize = 0; - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.ParameterCategory.Runtime)] @@ -228,11 +219,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Cmdlets.UpdateAzStackHCIVMV /// Performs clean-up after the command execution protected override void EndProcessing() { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse); - } var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); if (telemetryInfo != null) { @@ -548,24 +534,7 @@ public UpdateAzStackHCIVMVirtualMachine_UpdateViaJsonString() // onOk - response for 200 / application/json // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstance var result = (await response); - if (null != result) - { - if (0 == _responseSize) - { - _firstResponse = result; - _responseSize = 1; - } - else - { - if (1 ==_responseSize) - { - // Flush buffer - WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); - } - WriteObject(result.AddMultipleTypeNameIntoPSObject()); - _responseSize = 2; - } - } + WriteObject(result, false); } } } diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs index fc07c7166847..dfee02cb482f 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs @@ -36,14 +36,23 @@ internal class PsHelpInfo public object Role { get; } public string NonTerminatingErrors { get; } + public static string CapitalizeFirstLetter(string text) + { + if (string.IsNullOrEmpty(text)) + return text; + + return char.ToUpper(text[0]) + text.Substring(1); + } + public PsHelpInfo(PSObject helpObject = null) { helpObject = helpObject ?? new PSObject(); CmdletName = helpObject.GetProperty("Name").NullIfEmpty() ?? helpObject.GetNestedProperty("details", "name"); ModuleName = helpObject.GetProperty("ModuleName"); - Synopsis = helpObject.GetProperty("Synopsis"); + Synopsis = CapitalizeFirstLetter(helpObject.GetProperty("Synopsis")); Description = helpObject.GetProperty("description").EmptyIfNull().ToDescriptionText().NullIfEmpty() ?? helpObject.GetNestedProperty("details", "description").EmptyIfNull().ToDescriptionText(); + Description = CapitalizeFirstLetter(Description); AlertText = helpObject.GetNestedProperty("alertSet", "alert").EmptyIfNull().ToDescriptionText(); Category = helpObject.GetProperty("Category"); HasCommonParameters = helpObject.GetProperty("CommonParameters").ToNullableBool(); diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs index 239a9a467c91..415c60af8fe7 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs @@ -216,6 +216,20 @@ public string GetProcessCustomAttributesAtRuntime() {Indent}{Indent}[Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)"; } + private string GetLoginVerification() + { + if (!VariantGroup.IsInternal && IsAzure && !VariantGroup.IsModelCmdlet) + { + return $@" +{Indent}{Indent}$context = Get-AzContext +{Indent}{Indent}if (-not $context -and -not $testPlayback) {{ +{Indent}{Indent}{Indent}throw ""No Azure login detected. Please run 'Connect-AzAccount' to log in."" +{Indent}{Indent}}} +"; + } + return ""; + } + private string GetTelemetry() { if (!VariantGroup.IsInternal && IsAzure) @@ -248,10 +262,16 @@ public override string ToString() => $@"begin {{ {Indent}{Indent}{Indent}$PSBoundParameters['OutBuffer'] = 1 {Indent}{Indent}}} {Indent}{Indent}$parameterSet = $PSCmdlet.ParameterSetName -{GetTelemetry()} +{Indent}{Indent} +{Indent}{Indent}$testPlayback = $false +{Indent}{Indent}$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object {{ if ($_) {{ $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) }} }} +{GetLoginVerification()}{GetTelemetry()} {GetParameterSetToCmdletMapping()}{GetDefaultValuesStatements()} {GetProcessCustomAttributesAtRuntime()} {Indent}{Indent}$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) +{Indent}{Indent}if ($wrappedCmd -eq $null) {{ +{Indent}{Indent}{Indent}$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) +{Indent}{Indent}}} {Indent}{Indent}$scriptCmd = {{& $wrappedCmd @PSBoundParameters}} {Indent}{Indent}$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) {Indent}{Indent}$steppablePipeline.Begin($PSCmdlet) @@ -295,8 +315,6 @@ private string GetDefaultValuesStatements() if ("SubscriptionId".Equals(parameterName)) { sb.AppendLine($"{Indent}{Indent}if (({variantListString}) -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('{parameterName}'){setCondition}) {{"); - sb.AppendLine($"{Indent}{Indent}{Indent}$testPlayback = $false"); - sb.AppendLine($"{Indent}{Indent}{Indent}$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object {{ if ($_) {{ $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) }} }}"); sb.AppendLine($"{Indent}{Indent}{Indent}if ($testPlayback) {{"); sb.AppendLine($"{Indent}{Indent}{Indent}{Indent}$PSBoundParameters['{parameterName}'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')"); sb.AppendLine($"{Indent}{Indent}{Indent}}} else {{"); diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs index 10abf837c018..d6d5f4b53d79 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs @@ -49,6 +49,7 @@ internal class VariantGroup public PsHelpInfo HelpInfo { get; } public bool IsGenerated { get; } public bool IsInternal { get; } + public bool IsModelCmdlet { get; } public string OutputFolder { get; } public string FileName { get; } public string FilePath { get; } @@ -83,6 +84,7 @@ public VariantGroup(string moduleName, string cmdletName, Variant[] variants, st HelpInfo = Variants.Select(v => v.HelpInfo).FirstOrDefault() ?? new PsHelpInfo(); IsGenerated = Variants.All(v => v.Attributes.OfType().Any()); IsInternal = isInternal; + IsModelCmdlet = Variants.All(v => v.IsModelCmdlet); OutputFolder = outputFolder; FileName = $"{CmdletName}{(isTest ? ".Tests" : String.Empty)}.ps1"; FilePath = Path.Combine(OutputFolder, FileName); @@ -143,6 +145,7 @@ internal class Variant public Parameter[] Parameters { get; } public Parameter[] CmdletOnlyParameters { get; } public bool IsInternal { get; } + public bool IsModelCmdlet { get; } public bool IsDoNotExport { get; } public bool IsNotSuggestDefaultParameterSet { get; } public string[] Profiles { get; } @@ -165,6 +168,7 @@ public Variant(string cmdletName, string variantName, CommandInfo info, CommandM Parameters = this.ToParameters().OrderBy(p => p.OrderCategory).ThenByDescending(p => p.IsMandatory).ToArray(); IsInternal = Attributes.OfType().Any(); IsDoNotExport = Attributes.OfType().Any(); + IsModelCmdlet = Attributes.OfType().Any(); IsNotSuggestDefaultParameterSet = Attributes.OfType().Any(); CmdletOnlyParameters = Parameters.Where(p => !p.Categories.Any(c => c == ParameterCategory.Azure || c == ParameterCategory.Runtime)).ToArray(); Profiles = Attributes.OfType().SelectMany(pa => pa.Profiles).ToArray(); @@ -388,6 +392,7 @@ public CommentInfo(VariantGroup variantGroup) var helpInfo = variantGroup.HelpInfo; Description = variantGroup.Variants.SelectMany(v => v.Attributes).OfType().FirstOrDefault()?.Description.NullIfEmpty() ?? helpInfo.Description.EmptyIfNull(); + Description = PsHelpInfo.CapitalizeFirstLetter(Description); // If there is no Synopsis, PowerShell may put in the Syntax string as the Synopsis. This seems unintended, so we remove the Synopsis in this situation. var synopsis = helpInfo.Synopsis.EmptyIfNull().Trim().StartsWith(variantGroup.CmdletName) ? String.Empty : helpInfo.Synopsis; Synopsis = synopsis.NullIfEmpty() ?? Description; diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/runtime/BuildTime/PsAttributes.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/runtime/BuildTime/PsAttributes.cs index 1d4b49c4cf29..265b7a058a7c 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/runtime/BuildTime/PsAttributes.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/runtime/BuildTime/PsAttributes.cs @@ -22,6 +22,11 @@ public class DoNotExportAttribute : Attribute { } + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property)] + public class ModelCmdletAttribute : Attribute + { + } + [AttributeUsage(AttributeTargets.Class)] public class InternalExportAttribute : Attribute { diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/runtime/Context.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/runtime/Context.cs index 8a316650fa0f..19aa36e1cf82 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/runtime/Context.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/runtime/Context.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime /// The IContext Interface defines the communication mechanism for input customization. /// /// - /// In the context, we will have client, pipeline, PSBoundParamters, default EventListener, Cancellation. + /// In the context, we will have client, pipeline, PSBoundParameters, default EventListener, Cancellation. /// public interface IContext { diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/runtime/MessageAttribute.cs b/generated/StackHCIVM/StackHCIVM.Autorest/generated/runtime/MessageAttribute.cs index b549cb41bb44..602e1c9843e6 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/runtime/MessageAttribute.cs +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/runtime/MessageAttribute.cs @@ -16,9 +16,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime public class GenericBreakingChangeAttribute : Attribute { private string _message; - //A dexcription of what the change is about, non mandatory + //A description of what the change is about, non mandatory public string ChangeDescription { get; set; } = null; + //Name of the module that is being deprecated + public string moduleName { get; set; } = String.IsNullOrEmpty(@"") ? @"Az.StackHCIVM" : @""; + //The version the change is effective from, non mandatory public string DeprecateByVersion { get; } public string DeprecateByAzVersion { get; } @@ -82,7 +85,7 @@ public void PrintCustomAttributeInfo(Action writeOutput) } writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByAzVersion, this.DeprecateByAzVersion)); - writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.DeprecateByVersion)); + writeOutput(string.Format(Resources.BreakingChangesAttributesInEffectByVersion, this.moduleName, this.DeprecateByVersion)); if (OldWay != null && NewWay != null) { @@ -191,11 +194,11 @@ public PreviewMessageAttribute(string message, string estimatedDateOfGa) : this( this.IsEstimatedGaDateSet = true; } } - + public void PrintCustomAttributeInfo(Action writeOutput) { writeOutput(this._message); - + if (IsEstimatedGaDateSet) { writeOutput(string.Format(Resources.PreviewCmdletETAMessage, this.EstimatedGaDate.ToShortDateString())); diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/generated/runtime/Properties/Resources.resx b/generated/StackHCIVM/StackHCIVM.Autorest/generated/runtime/Properties/Resources.resx index a08a2e50172b..4ef90b70573d 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/generated/runtime/Properties/Resources.resx +++ b/generated/StackHCIVM/StackHCIVM.Autorest/generated/runtime/Properties/Resources.resx @@ -1705,7 +1705,7 @@ Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can -- The change is expected to take effect from version : '{0}' +- The change is expected to take effect in '{0}' from version : '{1}' ```powershell diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/internal/New-AzStackHCIVMGalleryImage.ps1 b/generated/StackHCIVM/StackHCIVM.Autorest/internal/New-AzStackHCIVMGalleryImage.ps1 index ba539cf71eed..653285ab711c 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/internal/New-AzStackHCIVMGalleryImage.ps1 +++ b/generated/StackHCIVM/StackHCIVM.Autorest/internal/New-AzStackHCIVMGalleryImage.ps1 @@ -84,7 +84,7 @@ param( [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Body')] - [System.String] + [System.Security.SecureString] # location of the image the gallery image should be created from ${ImagePath}, diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/internal/ProxyCmdletDefinitions.ps1 b/generated/StackHCIVM/StackHCIVM.Autorest/internal/ProxyCmdletDefinitions.ps1 index bbb0fcacc597..57a6c0bbaeb2 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/internal/ProxyCmdletDefinitions.ps1 +++ b/generated/StackHCIVM/StackHCIVM.Autorest/internal/ProxyCmdletDefinitions.ps1 @@ -1795,7 +1795,7 @@ param( [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Body')] - [System.String] + [System.Security.SecureString] # location of the image the gallery image should be created from ${ImagePath}, @@ -6381,7 +6381,7 @@ param( [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Body')] - [System.String] + [System.Security.SecureString] # location of the image the gallery image should be created from ${ImagePath}, diff --git a/generated/StackHCIVM/StackHCIVM.Autorest/internal/Set-AzStackHCIVMGalleryImage.ps1 b/generated/StackHCIVM/StackHCIVM.Autorest/internal/Set-AzStackHCIVMGalleryImage.ps1 index 29d3e362e5bc..2cd47773a1fc 100644 --- a/generated/StackHCIVM/StackHCIVM.Autorest/internal/Set-AzStackHCIVMGalleryImage.ps1 +++ b/generated/StackHCIVM/StackHCIVM.Autorest/internal/Set-AzStackHCIVMGalleryImage.ps1 @@ -115,7 +115,7 @@ param( [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Body')] - [System.String] + [System.Security.SecureString] # location of the image the gallery image should be created from ${ImagePath}, diff --git a/src/StackHCIVM/StackHCIVM.Autorest/README.md b/src/StackHCIVM/StackHCIVM.Autorest/README.md index aed13881388a..7251af259173 100644 --- a/src/StackHCIVM/StackHCIVM.Autorest/README.md +++ b/src/StackHCIVM/StackHCIVM.Autorest/README.md @@ -76,6 +76,14 @@ flatten-userassignedidentity: false inlining-threshold: 50 resourcegroup-append: true directive: + # Mark imagePath as a password format so AutoRest generates SecureString for the parameter + - from: swagger-document + where: $.definitions.GalleryImageProperties.properties.imagePath + transform: $.format = "password" + # Mark adminPassword as a password format so AutoRest generates SecureString for the parameter + - from: swagger-document + where: $.definitions.VirtualMachineInstanceProperties.properties.osProfile.properties.adminPassword + transform: $.format = "password" - from: swagger-document where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualHardDisks/{virtualHardDiskName}"].delete.responses transform: >- diff --git a/src/StackHCIVM/StackHCIVM.Autorest/custom/New-AzStackHCIVMImage.ps1 b/src/StackHCIVM/StackHCIVM.Autorest/custom/New-AzStackHCIVMImage.ps1 index 960c53248694..0f31d0d8da7c 100644 --- a/src/StackHCIVM/StackHCIVM.Autorest/custom/New-AzStackHCIVMImage.ps1 +++ b/src/StackHCIVM/StackHCIVM.Autorest/custom/New-AzStackHCIVMImage.ps1 @@ -102,9 +102,10 @@ function New-AzStackHCIVMImage{ [Parameter(ParameterSetName='GalleryImage', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Body')] - [System.String] - # Local path of image that the image should be created from. - # This parameter is required for non marketplace images. + [System.Security.SecureString] + # Local path of image that the image should be created from (as SecureString). + # This parameter is required for non marketplace images. + # Use: ConvertTo-SecureString -String "path\to\image.vhdx" -AsPlainText -Force ${ImagePath}, [Parameter(ParameterSetName='GalleryImage', Mandatory)] @@ -318,7 +319,6 @@ function New-AzStackHCIVMImage{ $null = $PSBoundParameters.Remove("Publisher") $null = $PSBoundParameters.Remove("Offer") $null = $PSBoundParameters.Remove("OSType") - $null = $PSBoundParameters.Remove("ImagePath") $null = $PSBoundParameters.Remove("CustomLocationId") $null = $PSBoundParameters.Remove("CloudInitDataSource") $null = $PSBoundParameters.Remove("Location") @@ -333,12 +333,14 @@ function New-AzStackHCIVMImage{ Start-Sleep -Seconds 5 if ($image.ProvisioningStatus -eq "Failed") { Break - } + } + if (($PercentCompleted -ne 100) -and ($image.ProvisioningStatus -ne "Failed")) { + Start-Sleep -Seconds 5 + } } if ($image.ProvisioningStatus -eq "Failed"){ Write-Error $image.StatusErrorMessage -ErrorAction Stop } - } catch { $e = $_ if ($e.FullyQualifiedErrorId -match "MissingAzureKubernetesMapping" ){ @@ -380,7 +382,6 @@ function New-AzStackHCIVMImage{ $null = $PSBoundParameters.Remove("Publisher") $null = $PSBoundParameters.Remove("Offer") $null = $PSBoundParameters.Remove("OSType") - $null = $PSBoundParameters.Remove("ImagePath") $null = $PSBoundParameters.Remove("CustomLocationId") $null = $PSBoundParameters.Remove("CloudInitDataSource") $null = $PSBoundParameters.Remove("Location") diff --git a/src/StackHCIVM/StackHCIVM.Autorest/custom/New-AzStackHCIVMVirtualMachine_New.ps1 b/src/StackHCIVM/StackHCIVM.Autorest/custom/New-AzStackHCIVMVirtualMachine_New.ps1 index e3a84a995886..da83395d49d5 100644 --- a/src/StackHCIVM/StackHCIVM.Autorest/custom/New-AzStackHCIVMVirtualMachine_New.ps1 +++ b/src/StackHCIVM/StackHCIVM.Autorest/custom/New-AzStackHCIVMVirtualMachine_New.ps1 @@ -227,8 +227,8 @@ function New-AzStackHCIVMVirtualMachine { [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Body')] - [System.String] - # AdminPassword - admin password + [System.Security.SecureString] + # AdminPassword - admin password (as SecureString) ${AdminPassword}, [Parameter()] @@ -657,6 +657,7 @@ function New-AzStackHCIVMVirtualMachine { if ($ComputerName){ $PSBoundParameters.Add('ComputerName', $ComputerName) } + # Handle credentials - either from Credential parameter or direct AdminUsername/AdminPassword if ($AdminUsername){ $PSBoundParameters.Add('AdminUsername', $AdminUsername) } @@ -675,7 +676,7 @@ function New-AzStackHCIVMVirtualMachine { if ($EnableTpm.IsPresent){ $PSBoundParameters.Add('EnableTpm', $EnableTpm) } - if($SecureBootEnabled.IsPresent){ + if ($SecureBootEnabled.IsPresent){ $PSBoundParameters.Add('SecureBootEnabled', $SecureBootEnabled) } $null = $PSBoundParameters.Remove("Name") @@ -688,7 +689,6 @@ function New-AzStackHCIVMVirtualMachine { $null = $PSBoundParameters.Remove("Location") $null = $PSBoundParameters.Remove("OSType") $null = $PSBoundParameters.Remove("IdentityType") - try{ Az.StackHCIVM.internal\New-AzStackHCIVMVirtualMachine -ErrorAction Stop @PSBoundParameters } catch { diff --git a/src/StackHCIVM/StackHCIVM.Autorest/custom/Save-AzStackHCIVMVirtualMachine_New.ps1 b/src/StackHCIVM/StackHCIVM.Autorest/custom/Save-AzStackHCIVMVirtualMachine_New.ps1 new file mode 100644 index 000000000000..6c81fba11dcc --- /dev/null +++ b/src/StackHCIVM/StackHCIVM.Autorest/custom/Save-AzStackHCIVMVirtualMachine_New.ps1 @@ -0,0 +1,152 @@ + +# ---------------------------------------------------------------------------------- +# +# Copyright Microsoft Corporation +# 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. +# ---------------------------------------------------------------------------------- + +<# +.Synopsis +The operation to save a virtual machine instance. +.Description +The operation to save a virtual machine instance. + +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstance +.Notes +COMPLEX PARAMETER PROPERTIES + + +.Link +https://learn.microsoft.com/powershell/module/az.stackhcivm/Save-AzStackHCIVMVirtualMachine +#> +function Save-AzStackHCIVMVirtualMachine { + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstance])] + [CmdletBinding( PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] + param( + + [Parameter(ParameterSetName='ByName', Mandatory)] + [Alias('VirtualMachineName')] + [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Path')] + [System.String] + # Name of the virtual machine + ${Name}, + + [Parameter(ParameterSetName='ByName', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Path')] + [System.String] + # The name of the resource group. + # The name is case insensitive. + ${ResourceGroupName}, + + [Parameter(ParameterSetName='ByName', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + # The ID of the target subscription. + ${SubscriptionId}, + + [Parameter(ParameterSetName='ByResourceId', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Path')] + [System.String] + # The ARM Resource ID of the virtual machine. + ${ResourceId}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Azure')] + [System.Management.Automation.PSObject] + # The credentials, account, tenant, and subscription used for communication with Azure. + ${DefaultProfile}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command as a job + ${AsJob}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command asynchronously + ${NoWait}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} + + ) + if (($resourceId -match $vmRegex) -or ($name -and $resourceGroupName -and $subscriptionId)){ + if ($resourceId -match $vmRegex){ + $subscriptionId = $($Matches['subscriptionId']) + $resourceGroupName = $($Matches['resourceGroupName']) + $name = $($Matches['machineName']) + } + $resourceUri = "/subscriptions/" + $subscriptionId + "/resourceGroups/" + $resourceGroupName + "/providers/Microsoft.HybridCompute/machines/" + $name + $PSBoundParameters.Add("ResourceUri", $resourceUri) + $null = $PSBoundParameters.Remove("SubscriptionId") + $null = $PSBoundParameters.Remove("ResourceGroupName") + $null = $PSBoundParameters.Remove("ResourceId") + $null = $PSBoundParameters.Remove("Name") + + if ($PSCmdlet.ShouldProcess($resourceUri, "Save virtual machine instance")) { + try{ + Az.StackHCIVM.internal\Save-AzStackHCIVMVirtualMachine -ErrorAction Stop @PSBoundParameters + } catch { + $e = $_ + if ($e.FullyQualifiedErrorId -match "MissingAzureKubernetesMapping" ){ + Write-Error "An older version of the Arc VM cluster extension is installed on your cluster. Please downgrade the Az.StackHCIVm version to 1.0.1 to proceed." -ErrorAction Stop + } else { + Write-Error -ErrorRecord $e -ErrorAction Stop + } + } + } + + } else { + Write-Error "One or more input parameters are invalid. Resource ID is: $resourceId, name is $name, resource group name is $resourceGroupName, subscription id is $subscriptionId" -ErrorAction Stop + } +} \ No newline at end of file diff --git a/src/StackHCIVM/StackHCIVM.Autorest/custom/Suspend-AzStackHCIVMVirtualMachine_New.ps1 b/src/StackHCIVM/StackHCIVM.Autorest/custom/Suspend-AzStackHCIVMVirtualMachine_New.ps1 new file mode 100644 index 000000000000..6d13ddc33913 --- /dev/null +++ b/src/StackHCIVM/StackHCIVM.Autorest/custom/Suspend-AzStackHCIVMVirtualMachine_New.ps1 @@ -0,0 +1,152 @@ + +# ---------------------------------------------------------------------------------- +# +# Copyright Microsoft Corporation +# 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. +# ---------------------------------------------------------------------------------- + +<# +.Synopsis +The operation to Suspend a virtual machine instance. +.Description +The operation to Suspend a virtual machine instance. + +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstance +.Notes +COMPLEX PARAMETER PROPERTIES + + +.Link +https://learn.microsoft.com/powershell/module/az.stackhcivm/Suspend-AzStackHCIVMVirtualMachine +#> +function Suspend-AzStackHCIVMVirtualMachine { + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstance])] + [CmdletBinding( PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] + param( + + [Parameter(ParameterSetName='ByName', Mandatory)] + [Alias('VirtualMachineName')] + [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Path')] + [System.String] + # Name of the virtual machine + ${Name}, + + [Parameter(ParameterSetName='ByName', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Path')] + [System.String] + # The name of the resource group. + # The name is case insensitive. + ${ResourceGroupName}, + + [Parameter(ParameterSetName='ByName', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + # The ID of the target subscription. + ${SubscriptionId}, + + [Parameter(ParameterSetName='ByResourceId', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Path')] + [System.String] + # The ARM Resource ID of the virtual machine. + ${ResourceId}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Azure')] + [System.Management.Automation.PSObject] + # The credentials, account, tenant, and subscription used for communication with Azure. + ${DefaultProfile}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command as a job + ${AsJob}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command asynchronously + ${NoWait}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} + + ) + if (($ResourceId -match $vmRegex) -or ($name -and $resourceGroupName -and $subscriptionId)){ + if ($ResourceId -match $vmRegex){ + $subscriptionId = $($Matches['subscriptionId']) + $resourceGroupName = $($Matches['resourceGroupName']) + $name = $($Matches['machineName']) + } + $resourceUri = "/subscriptions/" + $subscriptionId + "/resourceGroups/" + $resourceGroupName + "/providers/Microsoft.HybridCompute/machines/" + $name + $PSBoundParameters.Add("ResourceUri", $resourceUri) + $null = $PSBoundParameters.Remove("SubscriptionId") + $null = $PSBoundParameters.Remove("ResourceGroupName") + $null = $PSBoundParameters.Remove("ResourceId") + $null = $PSBoundParameters.Remove("Name") + + if ($PSCmdlet.ShouldProcess($resourceUri, "Suspend virtual machine")) { + try{ + Az.StackHCIVM.internal\Suspend-AzStackHCIVMVirtualMachine -ErrorAction Stop @PSBoundParameters + } catch { + $e = $_ + if ($e.FullyQualifiedErrorId -match "MissingAzureKubernetesMapping" ){ + Write-Error "An older version of the Arc VM cluster extension is installed on your cluster. Please downgrade the Az.StackHCIVm version to 1.0.1 to proceed." -ErrorAction Stop + } else { + Write-Error -ErrorRecord $e -ErrorAction Stop + } + } + } + + } else { + Write-Error "One or more input parameters are invalid. Resource ID is: $ResourceId, name is $name, resource group name is $resourceGroupName, subscription id is $subscriptionid" -ErrorAction Stop + } +} \ No newline at end of file diff --git a/src/StackHCIVM/StackHCIVM.Autorest/test/AzStackHCIVMImageNew.Tests.ps1 b/src/StackHCIVM/StackHCIVM.Autorest/test/AzStackHCIVMImageNew.Tests.ps1 index d7faab1132da..4e30f288c331 100644 --- a/src/StackHCIVM/StackHCIVM.Autorest/test/AzStackHCIVMImageNew.Tests.ps1 +++ b/src/StackHCIVM/StackHCIVM.Autorest/test/AzStackHCIVMImageNew.Tests.ps1 @@ -16,7 +16,8 @@ if(($null -eq $TestName) -or ($TestName -contains 'AzStackHCIVMImageNew')) Describe 'AzStackHCIVMImageNew' { It 'Create Image ' { - New-AzStackHCIVMImage -Name $env.imageName -ImagePath $env.imagePath -SubscriptionId $env.newSubscriptionId -ResourceGroupName $env.newResourceGroupName -CustomLocationId $env.newCustomLocationId -Location $env.location -OSType $env.osTypeLinux | Select-Object -Property ProvisioningState | Should -BeExactly "@{ProvisioningState=Succeeded}" + $secureImagePath = ConvertTo-SecureString -String $env.imagePath -AsPlainText -Force + New-AzStackHCIVMImage -Name $env.imageName -ImagePath $secureImagePath -SubscriptionId $env.newSubscriptionId -ResourceGroupName $env.newResourceGroupName -CustomLocationId $env.newCustomLocationId -Location $env.location -OSType $env.osTypeLinux | Select-Object -Property ProvisioningState | Should -BeExactly "@{ProvisioningState=Succeeded}" } It 'Create MarketplaceImage' { diff --git a/src/StackHCIVM/StackHCIVM.Autorest/test/Save-AzStackHCIVMVirtualMachine.Tests.ps1 b/src/StackHCIVM/StackHCIVM.Autorest/test/Save-AzStackHCIVMVirtualMachine.Tests.ps1 new file mode 100644 index 000000000000..f955f2c5e1f7 --- /dev/null +++ b/src/StackHCIVM/StackHCIVM.Autorest/test/Save-AzStackHCIVMVirtualMachine.Tests.ps1 @@ -0,0 +1,22 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Save-AzStackHCIVMVirtualMachine.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 'Save-AzStackHCIVMVirtualMachine' { + It 'ByResourceId' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ByName' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/StackHCIVM/StackHCIVM.Autorest/test/Suspend-AzStackHCIVMVirtualMachine.Tests.ps1 b/src/StackHCIVM/StackHCIVM.Autorest/test/Suspend-AzStackHCIVMVirtualMachine.Tests.ps1 new file mode 100644 index 000000000000..1432960528de --- /dev/null +++ b/src/StackHCIVM/StackHCIVM.Autorest/test/Suspend-AzStackHCIVMVirtualMachine.Tests.ps1 @@ -0,0 +1,22 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Suspend-AzStackHCIVMVirtualMachine.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 'Suspend-AzStackHCIVMVirtualMachine' { + It 'ByResourceId' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ByName' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/StackHCIVM/StackHCIVM/Az.StackHCIVM.psd1 b/src/StackHCIVM/StackHCIVM/Az.StackHCIVM.psd1 index 28dc7a9c1e36..918d0c9cb3e6 100644 --- a/src/StackHCIVM/StackHCIVM/Az.StackHCIVM.psd1 +++ b/src/StackHCIVM/StackHCIVM/Az.StackHCIVM.psd1 @@ -85,8 +85,11 @@ FunctionsToExport = 'Add-AzStackHCIVMVirtualMachineDataDisk', 'Remove-AzStackHCIVMVirtualMachineDataDisk', 'Remove-AzStackHCIVMVirtualMachineNetworkInterface', 'Restart-AzStackHCIVMVirtualMachine', + 'Save-AzStackHCIVMVirtualMachine', 'Start-AzStackHCIVMVirtualMachine', - 'Stop-AzStackHCIVMVirtualMachine', 'Update-AzStackHCIVMImage', + 'Stop-AzStackHCIVMVirtualMachine', + 'Suspend-AzStackHCIVMVirtualMachine', + 'Update-AzStackHCIVMImage', 'Update-AzStackHCIVMLogicalNetwork', 'Update-AzStackHCIVMNetworkInterface', 'Update-AzStackHCIVMStoragePath', diff --git a/src/StackHCIVM/StackHCIVM/ChangeLog.md b/src/StackHCIVM/StackHCIVM/ChangeLog.md index 7dbbc0993e6a..c1cfaef2a818 100644 --- a/src/StackHCIVM/StackHCIVM/ChangeLog.md +++ b/src/StackHCIVM/StackHCIVM/ChangeLog.md @@ -18,6 +18,7 @@ - Additional information about change #1 --> ## Upcoming Release +* Fixed missing export of `Save-AzStackHCIVMVirtualMachine` and `Suspend-AzStackHCIVMVirtualMachine` cmdlets by adding them to `FunctionsToExport` in the module manifest ## Version 1.1.0 * Upgraded nuget package to signed package.